Browse Source

size_t cant get < 0 and thus wont report errors

dynamic-accesslists
erdgeist 18 years ago
parent
commit
11abb03e85
  1. 2
      opentracker.c

2
opentracker.c

@ -449,7 +449,7 @@ static void help( char *name ) {
static void handle_read( const int64 clientsocket ) { static void handle_read( const int64 clientsocket ) {
struct http_data* h = io_getcookie( clientsocket ); struct http_data* h = io_getcookie( clientsocket );
size_t l; int64 l;
if( ( l = io_tryread( clientsocket, static_inbuf, sizeof static_inbuf ) ) <= 0 ) { if( ( l = io_tryread( clientsocket, static_inbuf, sizeof static_inbuf ) ) <= 0 ) {
if( h ) { if( h ) {

Loading…
Cancel
Save