X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Frrlist.c;h=fce21ff0373547b14fcee7d15742abb429ffbfca;hb=b6306c88b9279d8194afa85a6497c39531b3bfa9;hp=b05e1c6e63dbfa65e8b3f9b7e49db8fa2d21133a;hpb=6e35536bddb52c8e6bc201265c77a846d879b5a3;p=catta diff --git a/avahi-core/rrlist.c b/avahi-core/rrlist.c index b05e1c6..fce21ff 100644 --- a/avahi-core/rrlist.c +++ b/avahi-core/rrlist.c @@ -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); }