diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 2 |
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(); |