aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index 30b7eb540..44d72e913 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -996,6 +996,7 @@ main_notify_handler (void *cls,
996 if (NULL == h->status_events) 996 if (NULL == h->status_events)
997 { 997 {
998 GNUNET_break (0); 998 GNUNET_break (0);
999 return;
999 } 1000 }
1000 if (msize < sizeof (struct PeerStatusNotifyMessage)) 1001 if (msize < sizeof (struct PeerStatusNotifyMessage))
1001 { 1002 {