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/fs/fs_dirmetascan.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fs') diff --git a/src/fs/fs_dirmetascan.c b/src/fs/fs_dirmetascan.c index 7b9f178fd..8a3e37b49 100644 --- a/src/fs/fs_dirmetascan.c +++ b/src/fs/fs_dirmetascan.c @@ -246,6 +246,9 @@ finish_scan (void *cls) * * @param cls the closure (directory scanner object) * @param msg message from the helper process + * @return #GNUNET_OK on success, + * #GNUNET_NO to stop further processing (no error) + * #GNUNET_SYSERR to stop further processing with error */ static int process_helper_msgs (void *cls, -- cgit v1.2.3