diff options
author | Fritz Elfert <felfert@to.com> | 2000-07-31 03:12:38 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-07-31 03:12:38 +0000 |
commit | 7fb94ed43a814788cda019c1e77314abc1626339 (patch) | |
tree | 50b86a44e2809e6fbcdcd080f2a2dc4dbc37042e /lib/rpcsfactory.cc | |
parent | fbb17061d3c622f0786a5d9ad41e8ccd95ef706c (diff) | |
download | plptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.gz plptools-7fb94ed43a814788cda019c1e77314abc1626339.tar.bz2 plptools-7fb94ed43a814788cda019c1e77314abc1626339.zip |
Applied mjg-0.6 patch.
Started adding kdoc compliant documentation comments.
Added PsiTime
Diffstat (limited to 'lib/rpcsfactory.cc')
-rw-r--r-- | lib/rpcsfactory.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/rpcsfactory.cc b/lib/rpcsfactory.cc index 7358e56..4fe0bff 100644 --- a/lib/rpcsfactory.cc +++ b/lib/rpcsfactory.cc @@ -34,7 +34,7 @@ #include "bufferstore.h" #include "ppsocket.h" -rpcsfactory::rpcsfactory(ppsocket *_skt) : serNum(0) +rpcsfactory::rpcsfactory(ppsocket *_skt) //: serNum(0) { skt = _skt; } @@ -52,9 +52,10 @@ rpcs * rpcsfactory::create(bool reconnect) a.addStringT("NCP$INFO"); if (!skt->sendBufferStore(a)) { if (!reconnect) - cerr << "rpcsfactory::create couldn't send version request" << endl; else { + cerr << "rpcsfactory::create couldn't send version request" << endl; + else { skt->closeSocket(); - serNum = 0; + // serNum = 0; skt->reconnect(); } return NULL; @@ -68,7 +69,7 @@ rpcs * rpcsfactory::create(bool reconnect) } if ((a.getLen() > 8) && !strncmp(a.getString(), "No Psion", 8)) { skt->closeSocket(); - serNum = 0; + // serNum = 0; skt->reconnect(); return NULL; } |