lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #23240] recv_udp increases counters for available rece


From: Kieran Mansley
Subject: [lwip-devel] [bug #23240] recv_udp increases counters for available receives before netbuf is actually posted
Date: Mon, 06 Jul 2009 14:28:33 +0000
User-agent: 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:

  <http://savannah.nongnu.org/bugs/?23240>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]