summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-10-31 00:31:43 +0000
committerMike Buland <eichlan@xagasoft.com>2006-10-31 00:31:43 +0000
commit58cccdbe67f6e1966116b3d2f4c83d77863daadc (patch)
tree1b8f82cfc0e986dacb504818052ef13bc4b55bcf /src/connection.cpp
parentfa6e658f87726b4108e8019805a2b3387d6d8517 (diff)
downloadlibbu++-58cccdbe67f6e1966116b3d2f4c83d77863daadc.tar.gz
libbu++-58cccdbe67f6e1966116b3d2f4c83d77863daadc.tar.bz2
libbu++-58cccdbe67f6e1966116b3d2f4c83d77863daadc.tar.xz
libbu++-58cccdbe67f6e1966116b3d2f4c83d77863daadc.zip
Added the new linkmessenger class that will act as a base-class for anything
that wants to send messages to a containing programlink. Also fiddled with other things...aparently.
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 3d3c094..748d56d 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -311,7 +311,7 @@ void Connection::waitForInput( int nBytesIn, int nSec, int nUSec )
311 { 311 {
312 if( nSec == 0 && nUSec == 0 ) 312 if( nSec == 0 && nUSec == 0 )
313 { 313 {
314 throw ConnectionException( excodeSocketTimeout, "Socket Timeout"); 314 throw ConnectionException( excodeSocketTimeout, "Timed out while waiting for %d bytes.", nBytesIn );
315 } 315 }
316 readInput( nSec, nUSec, &nSec, &nUSec ); 316 readInput( nSec, nUSec, &nSec, &nUSec );
317 rlen = getInputAmnt(); 317 rlen = getInputAmnt();