Ticket #30: avahi-compat-error-return.patch
| File avahi-compat-error-return.patch, 298 bytes (added by Stanislav Brabec <sbrabec@…>, 6 years ago) |
|---|
-
avahi-compat-libdns_sd/compat.c
374 374 } 375 375 376 376 int DNSSD_API DNSServiceRefSockFD(DNSServiceRef sdref) { 377 assert(sdref);378 assert(sdref->n_ref >= 1);377 if (!sdref || sdref->n_ref <= 0) 378 return -1; 379 379 380 380 AVAHI_WARN_LINKAGE; 381 381
