|
From: | Kieran Mansley |
Subject: | Re: [lwip-users] bug about pbuf_queue() fuction |
Date: | Tue, 23 Nov 2004 13:46:04 +0000 (GMT) |
On Tue, 23 Nov 2004, xcb wrote:
lwip-users pbuf_queue() function in pbuf.c if ((p == NULL) || (n == NULL) ) return; should be write to: if ((p == NULL) || (n == NULL) || (p==n)) return;
As these all indicate programming errors (I think the function should never be called with those combinations of arguments, unless anyone knows otherwise) I'm tempted to make them all asserts rather than silent failures. Would anyone object to this?
Thanks Kieran
[Prev in Thread] | Current Thread | [Next in Thread] |