aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/link.cc
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-02-14 06:22:08 +0000
committerFritz Elfert <felfert@to.com>2002-02-14 06:22:08 +0000
commit1e2cead07bb1e106fecace944765ec33cd351dcb (patch)
tree7560c74bb4d08f30f6a63255146337c6746a4258 /ncpd/link.cc
parentac56bc94c58cf64d64baa3bac0cfed5e68fb468f (diff)
downloadplptools-1e2cead07bb1e106fecace944765ec33cd351dcb.tar.gz
plptools-1e2cead07bb1e106fecace944765ec33cd351dcb.tar.bz2
plptools-1e2cead07bb1e106fecace944765ec33cd351dcb.zip
- Bugfix: ncpd sucked up lot of CPU when Psion disconnects.
(finally found that!!) - Unified Headers - close stdin, stdout and stderr when in daemon mode.
Diffstat (limited to 'ncpd/link.cc')
-rw-r--r--ncpd/link.cc2
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::