Ticket #30: avahi-compat-txt-buffer-size.patch
| File avahi-compat-txt-buffer-size.patch, 311 bytes (added by Stanislav Brabec <sbrabec@…>, 6 years ago) |
|---|
-
avahi-compat-libdns_sd/txt.c
60 60 61 61 if ((t = avahi_new(TXTRecordInternal, 1))) { 62 62 t->buffer = buffer; 63 t->max_size = length;63 t->max_size = buffer ? length : (size_t)0; 64 64 t->size = 0; 65 65 t->malloc_buffer = NULL; 66 66 }
