From 17f5db6f7c8d60930367738b3d872fbf891486ee Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Oct 2017 12:32:57 +0100 Subject: allow MST callback to distinguish between disconnect and parse error situations, and only log for the hard errors --- src/core/gnunet-service-core_kx.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/gnunet-service-core_kx.c') diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index 8a7cada5c..ae0ae508f 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c @@ -708,6 +708,9 @@ setup_fresh_ping (struct GSC_KeyExchangeInfo *kx) * * @param cls the `struct GSC_KeyExchangeInfo` * @param m the message + * @return #GNUNET_OK on success, + * #GNUNET_NO to stop further processing (no error) + * #GNUNET_SYSERR to stop further processing with error */ static int deliver_message (void *cls, -- cgit v1.2.3