From 808e4a55f8ac3516a766873502b9bb020ef3d066 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Sep 2016 18:53:14 +0000 Subject: [PATCH] -do not log EPIPE --- src/util/service_new.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/util/service_new.c b/src/util/service_new.c index 95bdca33b..9981ae4c6 100644 --- a/src/util/service_new.c +++ b/src/util/service_new.c @@ -1849,8 +1849,9 @@ do_send (void *cls) } else { - GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, - "send"); + if (EPIPE != errno) + GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, + "send"); GNUNET_MQ_inject_error (client->mq, GNUNET_MQ_ERROR_WRITE); return; -- 2.25.1