diff options
Diffstat (limited to 'ncpd/link.cc')
-rw-r--r-- | ncpd/link.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ncpd/link.cc b/ncpd/link.cc index 6811d10..6e3be36 100644 --- a/ncpd/link.cc +++ b/ncpd/link.cc @@ -293,7 +293,7 @@ flush() { bool link:: stuffToSend() { - return (somethingToSend || !sendQueue.empty()); + return (!failed && (somethingToSend || !sendQueue.empty())); } bool link:: |