X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fsys-str.c;h=4c07adf59e3ccbee17f93f4eb62090fc14ad769b;hp=04a8816a8d0a95695cba86d206f127f3697b486a;hb=d4e349b88a33ff161f21409035620955c193b1ee;hpb=605baf6d76e6c9b4e94e626063ab52408364dfeb diff --git a/pppd/sys-str.c b/pppd/sys-str.c index 04a8816..4c07adf 100644 --- a/pppd/sys-str.c +++ b/pppd/sys-str.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-str.c,v 1.14 1994/09/21 06:47:37 paulus Exp $"; +static char rcsid[] = "$Id: sys-str.c,v 1.15 1994/10/22 11:49:27 paulus Exp $"; #endif /* @@ -523,7 +523,7 @@ read_packet(buf) i = 0; len = getmsg(fd, &ctl, &str, &i); if (len < 0) { - if (errno == EAGAIN || errno == EWOULDBLOCK) { + if (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR) { return -1; } syslog(LOG_ERR, "getmsg(fd) %m");