From: Christian Grothoff Date: Thu, 4 Aug 2011 08:46:11 +0000 (+0000) Subject: make more resillient X-Git-Tag: initial-import-from-subversion-38251~17487 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=903d8fdb3cba026f175501558d5e703ac9973277;p=oweals%2Fgnunet.git make more resillient --- 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, GNUNET_SCHEDULER_add_continuation (&do_disconnect, ac->dsh, GNUNET_SCHEDULER_REASON_PREREQ_DONE); + if (msg == NULL) + { + GNUNET_break (0); + msg = _("Unknown error"); + } if (ac->cont != NULL) ac->cont (ac->cont_cls, NULL, msg); GNUNET_FS_uri_destroy (ac->ksk_uri);