aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-20 17:10:46 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-20 17:10:46 +0000
commitdec4d81455277715f072e98b6793a1a023ccb2db (patch)
tree542207d65116a03f7dd27a60b01e6513ec86e12a /src/util
parentf97e35d9c9ddb84ec565bf37ef67bbe1317fb528 (diff)
downloadgnunet-dec4d81455277715f072e98b6793a1a023ccb2db.tar.gz
gnunet-dec4d81455277715f072e98b6793a1a023ccb2db.zip
-fix
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;