From fb19754539b242ea54d3eda8a19c6ba28bbe1fa3 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 13 Jul 2015 14:54:28 +0000 Subject: [PATCH] - irc.c:irc_read(): exempt EINTR from logging git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.1.x@6271 82007160-df01-0410-b94d-b575c5fd34c7 --- src/irc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/irc.c b/src/irc.c index c01ad9c..8c8d17e 100644 --- a/src/irc.c +++ b/src/irc.c @@ -746,9 +746,10 @@ irc_read(void) if ((len <= 0) && (errno != EAGAIN)) { - log_printf("IRC -> Error reading data from server: %s", strerror(errno)); - irc_reconnect(); + if (errno != EINTR) + log_printf("IRC -> Error reading data from server: %s", strerror(errno)); + irc_reconnect(); IRC_RAW_LEN = 0; return; } -- 2.30.2