]> granicus.if.org Git - transmission/commitdiff
(trunk libT) #4138 "use stdbool.h instead of tr_bool" -- fix watch.c error reported...
authorJordan Lee <jordan@transmissionbt.com>
Sat, 2 Apr 2011 07:46:37 +0000 (07:46 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sat, 2 Apr 2011 07:46:37 +0000 (07:46 +0000)
daemon/watch.c

index 32e959bf67491cd12dfa142df275153cc7484e43..af02395761faed2bb21757cb44cefe00183583dc 100644 (file)
@@ -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 );