diff options
author | Fritz Elfert <felfert@to.com> | 2002-02-16 17:35:42 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-02-16 17:35:42 +0000 |
commit | 12241e0ff5ea242891fc3a8c177e8f55e897f2a3 (patch) | |
tree | dd2ad24b8d0a0faf4e8e6548ff3f7297d5d3cf73 /ncpd/link.cc | |
parent | b32cfed12f9c9aff06ef3f7c6fb046c38ada987a (diff) | |
download | plptools-12241e0ff5ea242891fc3a8c177e8f55e897f2a3.tar.gz plptools-12241e0ff5ea242891fc3a8c177e8f55e897f2a3.tar.bz2 plptools-12241e0ff5ea242891fc3a8c177e8f55e897f2a3.zip |
- Applied patches from Luke Diamand, Marc Spoorendonk and Chris Halls
Diffstat (limited to 'ncpd/link.cc')
-rw-r--r-- | ncpd/link.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ncpd/link.cc b/ncpd/link.cc index 6e3be36..b7d5fb7 100644 --- a/ncpd/link.cc +++ b/ncpd/link.cc @@ -34,7 +34,7 @@ #include "bufferstore.h" #include "bufferarray.h" -link::link(const char *fname, int baud, IOWatch & iow, unsigned short _verbose) +link::link(const char *fname, int baud, IOWatch *iow, unsigned short _verbose) { p = new packet(fname, baud, iow); verbose = _verbose; @@ -44,7 +44,7 @@ link::link(const char *fname, int baud, IOWatch & iow, unsigned short _verbose) somethingToSend = false; timesSent = 0; failed = false; - for (int i; i < 256; i++) + for (int i = 0; i < 256; i++) xoff[i] = false; } @@ -62,7 +62,7 @@ reset() { somethingToSend = false; timesSent = 0; failed = false; - for (int i; i < 256; i++) + for (int i = 0; i < 256; i++) xoff[i] = false; } |