aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerstore')
-rw-r--r--src/peerstore/peerstore_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/peerstore/peerstore_api.c b/src/peerstore/peerstore_api.c
index 0b7a7ebb2..2ac8154de 100644
--- a/src/peerstore/peerstore_api.c
+++ b/src/peerstore/peerstore_api.c
@@ -799,6 +799,9 @@ GNUNET_PEERSTORE_watch (struct GNUNET_PEERSTORE_Handle *h,
799 struct StoreKeyHashMessage *hm; 799 struct StoreKeyHashMessage *hm;
800 struct GNUNET_PEERSTORE_WatchContext *wc; 800 struct GNUNET_PEERSTORE_WatchContext *wc;
801 801
802 GNUNET_assert(NULL != sub_system);
803 GNUNET_assert(NULL != peer);
804 GNUNET_assert(NULL != key);
802 ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH); 805 ev = GNUNET_MQ_msg(hm, GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH);
803 PEERSTORE_hash_key(sub_system, peer, key, &hm->keyhash); 806 PEERSTORE_hash_key(sub_system, peer, key, &hm->keyhash);
804 wc = GNUNET_new(struct GNUNET_PEERSTORE_WatchContext); 807 wc = GNUNET_new(struct GNUNET_PEERSTORE_WatchContext);