From ccc2e6cfe3a5936b0c72fa57faca5fb7b46c0b1d Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sun, 4 Jul 1999 19:12:50 +0000 Subject: Forking, syslog and better error handling --- ncpd/link.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ncpd/link.cc') diff --git a/ncpd/link.cc b/ncpd/link.cc index cc3781d..94a6f97 100644 --- a/ncpd/link.cc +++ b/ncpd/link.cc @@ -159,6 +159,10 @@ poll() return ret; } } + if (p->linkFailed()) { + failed = true; + return ret; + } if (!somethingToSend) { countToResend = 0; -- cgit v1.2.3