[avahi] [PATCH] improve libdns_sd compatibility

Lennart Poettering lennart at poettering.net
Thu Apr 12 14:05:27 PDT 2007

On Fri, 23.03.07 15:48, Chris Rivera (chrismrivera at gmail.com) wrote:

> Howdy folks.
> The attached patch replaces a few assertions with the returning of error
> codes in the libdns_sd compatibility layer.  The last bit of the patch also
> fixes an invalid assertion on the txtRecord field of DNSServiceRegister().
> >From the comments above this function in dns_sd.h:
> "Passing NULL for the txtRecord is allowed as a synonym for txtLen=1,
> txtRecord="" ".
> The patch should apply cleanly to trunk.

Thank you!

I commited this to trunk in r1409.


Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/

More information about the avahi mailing list