summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-01-31 02:19:17 +0000
committererdgeist <>2007-01-31 02:19:17 +0000
commit11abb03e85d6580699c4760e0267a972f78e6c03 (patch)
treeedb825feb6edb5de1ea84aadf9df2e81f9907980 /opentracker.c
parent05f0d651cb7f2033f6757408419c34257acaee24 (diff)
size_t cant get < 0 and thus wont report errors
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
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
450static void handle_read( const int64 clientsocket ) { 450static 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 ) {