diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-04 08:46:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-04 08:46:11 +0000 |
commit | 903d8fdb3cba026f175501558d5e703ac9973277 (patch) | |
tree | 8ca3c3ef1e5457bd1f7b464e73fe62fab1ce526f /src/fs/fs_namespace.c | |
parent | 5d24c89f54f14026da55d964f6ea4735fdf96665 (diff) | |
download | gnunet-903d8fdb3cba026f175501558d5e703ac9973277.tar.gz gnunet-903d8fdb3cba026f175501558d5e703ac9973277.zip |
make more resillient
Diffstat (limited to 'src/fs/fs_namespace.c')
-rw-r--r-- | src/fs/fs_namespace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index 34c58f387..cd0bfc415 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c | |||
@@ -345,6 +345,11 @@ advertisement_cont (void *cls, | |||
345 | GNUNET_SCHEDULER_add_continuation (&do_disconnect, | 345 | GNUNET_SCHEDULER_add_continuation (&do_disconnect, |
346 | ac->dsh, | 346 | ac->dsh, |
347 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 347 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
348 | if (msg == NULL) | ||
349 | { | ||
350 | GNUNET_break (0); | ||
351 | msg = _("Unknown error"); | ||
352 | } | ||
348 | if (ac->cont != NULL) | 353 | if (ac->cont != NULL) |
349 | ac->cont (ac->cont_cls, NULL, msg); | 354 | ac->cont (ac->cont_cls, NULL, msg); |
350 | GNUNET_FS_uri_destroy (ac->ksk_uri); | 355 | GNUNET_FS_uri_destroy (ac->ksk_uri); |