diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-19 21:36:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-19 21:36:42 +0000 |
commit | 511c49385f5551074f2d477d0abc0fff3794c06f (patch) | |
tree | e2993b37a6482e42425037f83df40cc97a4c3e04 /src/namestore/test_namestore_api_lookup_shadow.c | |
parent | a5e33f093cebc31423f085a816b3b297673c0baf (diff) | |
download | gnunet-511c49385f5551074f2d477d0abc0fff3794c06f.tar.gz gnunet-511c49385f5551074f2d477d0abc0fff3794c06f.zip |
-check return value
Diffstat (limited to 'src/namestore/test_namestore_api_lookup_shadow.c')
-rw-r--r-- | src/namestore/test_namestore_api_lookup_shadow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_lookup_shadow.c b/src/namestore/test_namestore_api_lookup_shadow.c index dde224e1e..e423dbb3e 100644 --- a/src/namestore/test_namestore_api_lookup_shadow.c +++ b/src/namestore/test_namestore_api_lookup_shadow.c | |||
@@ -227,7 +227,8 @@ run (void *cls, | |||
227 | const char * name = "dummy.dummy.gnunet"; | 227 | const char * name = "dummy.dummy.gnunet"; |
228 | 228 | ||
229 | directory = NULL; | 229 | directory = NULL; |
230 | GNUNET_CONFIGURATION_get_value_string(cfg, "PATHS", "GNUNET_TEST_HOME", &directory); | 230 | GNUNET_assert (GNUNET_OK == |
231 | GNUNET_CONFIGURATION_get_value_string(cfg, "PATHS", "GNUNET_TEST_HOME", &directory)); | ||
231 | GNUNET_DISK_directory_remove (directory); | 232 | GNUNET_DISK_directory_remove (directory); |
232 | 233 | ||
233 | endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, | 234 | endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, |