From: Guus Sliepen Date: Wed, 28 Jun 2000 10:11:10 +0000 (+0000) Subject: - Extra check op EINTR bij inlezen requests X-Git-Tag: release-1.0pre3~173 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=dba2995db73313b1c0a56ce13395dac0bc7571a5;p=tinc - Extra check op EINTR bij inlezen requests --- 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; }