|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [bug #47446] tcpip api calls: fail if mbox is invalid instead of returning an error |
Date: | Thu, 17 Mar 2016 19:44:12 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 |
URL: <http://savannah.nongnu.org/bugs/?47446> Summary: tcpip api calls: fail if mbox is invalid instead of returning an error Project: lwIP - A Lightweight TCP/IP stack Submitted by: goldsimon Submitted on: Do 17 Mär 2016 19:44:11 GMT Category: sockets/netconn Severity: 3 - Normal Item Group: Change Request Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: 1.5.0 lwIP version: git head _______________________________________________________ Details: To keep the code clearer, we might want to assert for a valid 'mbox' instead of checking it and having an error return value which must be checked can add confusion. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?47446> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |