diff options
author | erdgeist <> | 2007-01-31 02:19:17 +0000 |
---|---|---|
committer | erdgeist <> | 2007-01-31 02:19:17 +0000 |
commit | 11abb03e85d6580699c4760e0267a972f78e6c03 (patch) | |
tree | edb825feb6edb5de1ea84aadf9df2e81f9907980 | |
parent | 05f0d651cb7f2033f6757408419c34257acaee24 (diff) |
size_t cant get < 0 and thus wont report errors
-rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index a5c3db9..164cce8 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -449,7 +449,7 @@ static void help( char *name ) { | |||
449 | 449 | ||
450 | static void handle_read( const int64 clientsocket ) { | 450 | static void handle_read( const int64 clientsocket ) { |
451 | struct http_data* h = io_getcookie( clientsocket ); | 451 | struct http_data* h = io_getcookie( clientsocket ); |
452 | size_t l; | 452 | int64 l; |
453 | 453 | ||
454 | if( ( l = io_tryread( clientsocket, static_inbuf, sizeof static_inbuf ) ) <= 0 ) { | 454 | if( ( l = io_tryread( clientsocket, static_inbuf, sizeof static_inbuf ) ) <= 0 ) { |
455 | if( h ) { | 455 | if( h ) { |