diff options
Diffstat (limited to 'src/plugins/daemon/daemon.c')
-rw-r--r-- | src/plugins/daemon/daemon.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/daemon/daemon.c b/src/plugins/daemon/daemon.c index 9d89b4c9..c23a087e 100644 --- a/src/plugins/daemon/daemon.c +++ b/src/plugins/daemon/daemon.c | |||
@@ -56,13 +56,11 @@ static void * updateAppModelSafe(void * unused) { | |||
56 | G_TYPE_STRING); | 56 | G_TYPE_STRING); |
57 | sock = client_connection_create(ectx, cfg); | 57 | sock = client_connection_create(ectx, cfg); |
58 | if (sock == NULL) { | 58 | if (sock == NULL) { |
59 | apps = NULL; | 59 | apps = STRDUP(""); |
60 | } else { | 60 | } else { |
61 | GC_get_configuration_value_string(cfg, | 61 | apps = getConfigurationOptionValue(sock, |
62 | "GNUNETD", | 62 | "GNUNETD", |
63 | "APPLICATIONS", | 63 | "APPLICATIONS"); |
64 | "about daemon fs stats", | ||
65 | &apps); | ||
66 | } | 64 | } |
67 | if (apps != NULL) { | 65 | if (apps != NULL) { |
68 | next = apps; | 66 | next = apps; |