aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/helper.c b/src/util/helper.c
index d0aab3ccf..33c4c47cc 100644
--- a/src/util/helper.c
+++ b/src/util/helper.c
@@ -473,6 +473,8 @@ GNUNET_HELPER_send (struct GNUNET_HELPER_Handle *h,
473 struct HelperMessageQueueEntry *qe; 473 struct HelperMessageQueueEntry *qe;
474 uint16_t mlen; 474 uint16_t mlen;
475 475
476 if (NULL == h->fh_to_helper)
477 return GNUNET_NO;
476 if ( (GNUNET_YES == can_drop) && 478 if ( (GNUNET_YES == can_drop) &&
477 (h->mq_head != NULL) ) 479 (h->mq_head != NULL) )
478 return GNUNET_NO; 480 return GNUNET_NO;