From: Jordan Lee Date: Sat, 2 Apr 2011 07:46:37 +0000 (+0000) Subject: (trunk libT) #4138 "use stdbool.h instead of tr_bool" -- fix watch.c error reported... X-Git-Tag: 2.30b2~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=616bde8c5bc30967ba11ddd36f7aa1be4beae498;p=transmission (trunk libT) #4138 "use stdbool.h instead of tr_bool" -- fix watch.c error reported by zebulon501 in trac. :) --- diff --git a/daemon/watch.c b/daemon/watch.c index 32e959bf6..af0239576 100644 --- a/daemon/watch.c +++ b/daemon/watch.c @@ -181,10 +181,10 @@ add_file_to_list( struct evbuffer * buf, const char * filename, size_t len ) evbuffer_add( buf, key, strlen( key ) ); tr_free( key ); } -static tr_bool +static bool is_file_in_list( struct evbuffer * buf, const char * filename, size_t len ) { - tr_bool in_list; + bool in_list; struct evbuffer_ptr ptr; char * key = get_key_from_file( filename, len );