]> git.meshlink.io Git - catta/blobdiff - avahi-core/rrlist.c
update examples to make use of avahi_string_list_get_service_cookie() for whatever...
[catta] / avahi-core / rrlist.c
index b05e1c6e63dbfa65e8b3f9b7e49db8fa2d21133a..fce21ff0373547b14fcee7d15742abb429ffbfca 100644 (file)
@@ -106,7 +106,7 @@ AvahiRecord* avahi_record_list_next(AvahiRecordList *l, int *flush_cache, int *u
     AVAHI_LLIST_REMOVE(AvahiRecordListItem, items, l->unread, i);
     AVAHI_LLIST_PREPEND(AvahiRecordListItem, items, l->read, i);
 
-    i->read = TRUE;
+    i->read = 1;
     
     return r;
 }
@@ -146,7 +146,7 @@ void avahi_record_list_push(AvahiRecordList *l, AvahiRecord *r, int flush_cache,
     i->flush_cache = flush_cache;
     i->auxiliary = auxiliary;
     i->record = avahi_record_ref(r);
-    i->read = FALSE;
+    i->read = 0;
 
     AVAHI_LLIST_PREPEND(AvahiRecordListItem, items, l->unread, i);
 }