aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/link.cc')
-rw-r--r--ncpd/link.cc4
1 files changed, 4 insertions, 0 deletions
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;