Author: grothoff
Date: 2007-11-24 20:50:33 -0700 (Sat, 24 Nov 2007)
New Revision: 5754
Modified:
GNUnet/src/util/boot/startup.c
Log:
fix
Modified: GNUnet/src/util/boot/startup.c
===================================================================
--- GNUnet/src/util/boot/startup.c 2007-11-25 03:45:13 UTC (rev 5753)
+++ GNUnet/src/util/boot/startup.c 2007-11-25 03:50:33 UTC (rev 5754)
@@ -79,7 +79,11 @@
admin_log_level = NULL;
user_log_level = NULL;
user = NULL;
- GC_get_configuration_value_string (cfg, "GNUNETD", "USER", NULL, &user);
+ GC_get_configuration_value_string (cfg, "GNUNETD", "USER", "", &user);
+ if (strlen(user) == 0) {
+ GNUNET_free(user);
+ user = NULL;
+ }
logrotate = 7;
if (-1 == GC_get_configuration_value_number (cfg,
"GNUNETD",
_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn