summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2015-06-23 18:52:02 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2015-06-23 18:52:02 +0000
commit4e98c296bedebd7f857b1db31b0d5b3d651d4f10 (patch)
tree0224637dccc7ec4662fdc2a6ed162328817cf2d0 /src
parente6cc8b86efac6c64d46604baabcd41f5af8c9ff3 (diff)
NULL terminate core_handlers[]
Diffstat (limited to 'src')
-rw-r--r--src/cadet/gnunet-service-cadet_peer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c
index f337b6eb8..2925b5e65 100644
--- a/src/cadet/gnunet-service-cadet_peer.c
+++ b/src/cadet/gnunet-service-cadet_peer.c
@@ -508,7 +508,8 @@ static struct GNUNET_CORE_MessageHandler core_handlers[] = {
sizeof (struct GNUNET_CADET_Poll)},
{&GCC_handle_kx, GNUNET_MESSAGE_TYPE_CADET_KX, 0},
{&GCC_handle_encrypted, GNUNET_MESSAGE_TYPE_CADET_ENCRYPTED, 0},
- {&GCC_handle_encrypted, GNUNET_MESSAGE_TYPE_CADET_AX, 0}
+ {&GCC_handle_encrypted, GNUNET_MESSAGE_TYPE_CADET_AX, 0},
+ {NULL, 0, 0}
};