http://bugs.winehq.org/show_bug.cgi?id=22355
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2010-04-15 10:11:58 --- (In reply to comment #5)
The patch posted changes functionality, ie:
for (p = indexes, numInterfaces = 0; p && p->if_name; p++)
TRACE("%s %s a loopback interface\n", p->if_name,
isLoopbackInterface(fd, p->if_name) ? "is" : "is not"); if (!isLoopbackInterface(fd, p->if_name)) numInterfaces++; if_freenameindex(indexes);
If all we need is to add the trace shouldn't it be:
for (p = indexes, numInterfaces = 0; p && p->if_name; p++)
{
TRACE("%s %s a loopback interface\n", p->if_name,
isLoopbackInterface(fd, p->if_name) ? "is" : "is not"); if (!isLoopbackInterface(fd, p->if_name)) numInterfaces++;
} if_freenameindex(indexes);
Yes, you're right. Sorry about that. I'll comment on your trace separately.