7 May
2003
7 May
'03
12:42 p.m.
On Tue, 6 May 2003, Juan Lang wrote:
ChangeLog: changes wsock32 to use the new iphlpapi for interface and route enumeration in WsControl.
+ if (!table) + { + ERR ("Unable to allocate memory, can't enumerate interfaces\n"); + return -1; // FIXME: isn't there a better error code? + } No need to output this error here, we can't do that for every memory problem, and even if we could, I don't think it would be the right thing anyway, as it clutters the code, for little (if any) benefit. Just do: if (!table) return -1; // FIXME: isn't there a better error code? -- Dimi.
8257
Age (days ago)
8257
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dimitrie O. Paun -
Eric Pouech