diff options
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/service.c b/src/util/service.c index dc6a7330e..ad74d2786 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1542,7 +1542,7 @@ GNUNET_SERVICE_run (int argc, char *const *argv, const char *serviceName, | |||
1542 | err = 1; | 1542 | err = 1; |
1543 | do_daemonize = 0; | 1543 | do_daemonize = 0; |
1544 | logfile = NULL; | 1544 | logfile = NULL; |
1545 | loglev = GNUNET_strdup ("WARNING"); | 1545 | loglev = NULL; |
1546 | cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE); | 1546 | cfg_fn = GNUNET_strdup (GNUNET_DEFAULT_USER_CONFIG_FILE); |
1547 | memset (&sctx, 0, sizeof (sctx)); | 1547 | memset (&sctx, 0, sizeof (sctx)); |
1548 | sctx.options = opt; | 1548 | sctx.options = opt; |
@@ -1611,7 +1611,7 @@ shutdown: | |||
1611 | GNUNET_free_non_null (sctx.addrs); | 1611 | GNUNET_free_non_null (sctx.addrs); |
1612 | GNUNET_free_non_null (sctx.addrlens); | 1612 | GNUNET_free_non_null (sctx.addrlens); |
1613 | GNUNET_free_non_null (logfile); | 1613 | GNUNET_free_non_null (logfile); |
1614 | GNUNET_free (loglev); | 1614 | GNUNET_free_non_null (loglev); |
1615 | GNUNET_free (cfg_fn); | 1615 | GNUNET_free (cfg_fn); |
1616 | GNUNET_free_non_null (sctx.v4_denied); | 1616 | GNUNET_free_non_null (sctx.v4_denied); |
1617 | GNUNET_free_non_null (sctx.v6_denied); | 1617 | GNUNET_free_non_null (sctx.v6_denied); |