[GRASS-SVN] r65332 - grass/trunk/lib/db/dbmi_base
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 26 10:08:06 PDT 2015
Author: martinl
Date: 2015-05-26 10:08:06 -0700 (Tue, 26 May 2015)
New Revision: 65332
Modified:
grass/trunk/lib/db/dbmi_base/login.c
Log:
dbmilib: fix get_login() initialize also host and port
Modified: grass/trunk/lib/db/dbmi_base/login.c
===================================================================
--- grass/trunk/lib/db/dbmi_base/login.c 2015-05-26 17:07:39 UTC (rev 65331)
+++ grass/trunk/lib/db/dbmi_base/login.c 2015-05-26 17:08:06 UTC (rev 65332)
@@ -289,7 +289,9 @@
user[0] = '\0';
password[0] = '\0';
-
+ host[0] = '\0';
+ port[0] = '\0';
+
init_login(&login);
if (read_file(&login) == -1)
More information about the grass-commit
mailing list