From dba2995db73313b1c0a56ce13395dac0bc7571a5 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 28 Jun 2000 10:11:10 +0000 Subject: [PATCH] - Extra check op EINTR bij inlezen requests --- src/net.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/net.c b/src/net.c index df67a1cc..fd38c02e 100644 --- a/src/net.c +++ b/src/net.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c,v 1.35.4.11 2000/06/27 21:05:07 guus Exp $ + $Id: net.c,v 1.35.4.12 2000/06/28 10:11:10 guus Exp $ */ #include "config.h" @@ -1053,6 +1053,8 @@ cp if(lenin<=0) { + if(errno==EINTR) + return 0; syslog(LOG_ERR, _("Metadata socket read error: %m")); return -1; } -- 2.20.1