diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 748d56d..bf687ec 100644 --- a/src/connection.cpp +++ b/src/connection.cpp | |||
@@ -292,8 +292,11 @@ bool Connection::readInput( int nSec, int nUSec, int *pnSecBack, int *pnUSecBack | |||
292 | st = ust = 0; | 292 | st = ust = 0; |
293 | } | 293 | } |
294 | 294 | ||
295 | *pnSecBack = st; | 295 | if( pnSecBack ) |
296 | *pnUSecBack = ust; | 296 | { |
297 | *pnSecBack = st; | ||
298 | *pnUSecBack = ust; | ||
299 | } | ||
297 | 300 | ||
298 | //printf("New time: %d %d\n", *pnSecBack, *pnUSecBack ); | 301 | //printf("New time: %d %d\n", *pnSecBack, *pnUSecBack ); |
299 | 302 | ||