summaryrefslogtreecommitdiffstats
path: root/avahi-compat-libdns_sd/warn.h
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2010-05-19 15:43:44 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-25 02:36:10 +0200
commit2b2844b10d7b7e5c97f9c667d664d9418bb7769a (patch)
tree57a7bdc077bcb09753e20c45e40785e0bc742655 /avahi-compat-libdns_sd/warn.h
parentbdec379e33d153413d7559f393ef7f9d35a1e3bb (diff)
socket: ignore packet if FIONREAD returns zero
zero size is reported for corrupt packets. recvmsg() later could nevertheless get data from a good packet that followed the bad one. So get out early to avoid hitting an assertion.
Diffstat (limited to 'avahi-compat-libdns_sd/warn.h')
0 files changed, 0 insertions, 0 deletions