aboutsummaryrefslogtreecommitdiff
path: root/src/arm
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-18 14:47:03 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-18 14:47:03 +0000
commit2be168f3924a38f2d4f9071ccf53e6a032e9087d (patch)
tree3a08e36cc944a2f8b63d40e9b893e3aee18dcf1a /src/arm
parent0ea8e006d5f5ef84e31e000607bd24a23f8fc1ed (diff)
downloadgnunet-2be168f3924a38f2d4f9071ccf53e6a032e9087d.tar.gz
gnunet-2be168f3924a38f2d4f9071ccf53e6a032e9087d.zip
code clean up
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/gnunet-arm.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c
index 4e6d6f965..c055a6208 100644
--- a/src/arm/gnunet-arm.c
+++ b/src/arm/gnunet-arm.c
@@ -235,10 +235,13 @@ run (void *cls,
235 cfg = c; 235 cfg = c;
236 config_file = cfgfile; 236 config_file = cfgfile;
237 if (GNUNET_CONFIGURATION_get_value_string(cfg, "PATHS", "SERVICEHOME", &dir) != GNUNET_OK) 237 if (GNUNET_CONFIGURATION_get_value_string(cfg, "PATHS", "SERVICEHOME", &dir) != GNUNET_OK)
238 { 238 {
239 dir = NULL; 239 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
240 } 240 _("Fatal configuration error: `%s' option in section `%s' missing.\n"),
241 241 "SERVICEHOME",
242 "PATHS");
243 return;
244 }
242 h = GNUNET_ARM_connect (cfg, sched, NULL); 245 h = GNUNET_ARM_connect (cfg, sched, NULL);
243 if (h == NULL) 246 if (h == NULL)
244 { 247 {