Changeset 8716


Ignore:
Timestamp:
Jun 17, 2009, 2:49:23 PM (13 years ago)
Author:
charles
Message:

(trunk daemon) #2220 truncated pointer interpreted as truth value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/watch.c

    r8630 r8716  
    142142    struct evbuffer * test = evbuffer_new( );
    143143    add_file_to_list( test, filename, len );
    144     in_list = evbuffer_find( buf, EVBUFFER_DATA( test ), EVBUFFER_LENGTH( test ) );
     144    in_list = evbuffer_find( buf, EVBUFFER_DATA( test ), EVBUFFER_LENGTH( test ) ) != NULL;
    145145    evbuffer_free( test );
    146146    return in_list;
Note: See TracChangeset for help on using the changeset viewer.