[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #23240] recv_udp increases counters for available rece
[lwip-devel] [bug #23240] recv_udp increases counters for available receives before netbuf is actually posted
Mon, 06 Jul 2009 14:28:33 +0000
Opera/9.21 (X11; Linux i686; U; en)
Follow-up Comment #15, bug #23240 (project lwip):
I thought about that and decided that as the user was probably expecting an
unsigned value, it was better to cast it to unsigned.
What I will do instead is retrieve the value of recv_avail, round it up to
zero if it is negative, and return that as an unsigned value. I think that
should make sense in the circumstances.
Reply to this item at:
Message sent via/by Savannah