aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/daemon/daemon.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2006-10-30 02:58:05 +0000
committerChristian Grothoff <christian@grothoff.org>2006-10-30 02:58:05 +0000
commit82e46f1f9962a085b6d8460adbda39f1b7b139aa (patch)
treec4b3f67267196324ccc65d86b8a21a53a7a2ddf1 /src/plugins/daemon/daemon.c
parent4d1e54ba731bac95ff2f0db51b51dc91f88c66b2 (diff)
downloadgnunet-gtk-82e46f1f9962a085b6d8460adbda39f1b7b139aa.tar.gz
gnunet-gtk-82e46f1f9962a085b6d8460adbda39f1b7b139aa.zip
fixes
Diffstat (limited to 'src/plugins/daemon/daemon.c')
-rw-r--r--src/plugins/daemon/daemon.c10
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;