http://bugs.winehq.org/show_bug.cgi?id=27653
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #35 from Bruno Jesus 00cpxxx@gmail.com 2011-11-11 12:33:03 CST --- Sorry to bother but why do you check the ret var in the for if it's static? Or am I missing somehing?
+ ret = NO_ERROR; + (*ppIpAddrTable)->dwNumEntries = numAddresses; + for (ifp = ifa; !ret && ifp; ifp = ifp->ifa_next) + { + if (!ifp->ifa_addr || ifp->ifa_addr->sa_family != AF_INET) + continue; + + getIPAddrRowByName(&(*ppIpAddrTable)->table[i], + ifp->ifa_name, ifp->ifa_addr); + i++; + }