[PATCH] inetmib1: fix wrong arguments
Rico Schüller
kgbricola at web.de
Tue Aug 5 06:33:00 CDT 2008
---
dlls/inetmib1/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/inetmib1/main.c b/dlls/inetmib1/main.c
index d19f048..3b39174 100644
--- a/dlls/inetmib1/main.c
+++ b/dlls/inetmib1/main.c
@@ -730,7 +730,7 @@ static void mib2IpRouteInit(void)
MIB_IPFORWARDTABLE *table = HeapAlloc(GetProcessHeap(), 0, size);
if (table)
{
- if (!GetIpForwardTable(ipRouteTable, &size, TRUE)) ipRouteTable = table;
+ if (!GetIpForwardTable(table, &size, TRUE)) ipRouteTable = table;
else HeapFree(GetProcessHeap(), 0, table );
}
}
@@ -813,7 +813,7 @@ static void mib2IpNetInit(void)
MIB_IPNETTABLE *table = HeapAlloc(GetProcessHeap(), 0, size);
if (table)
{
- if (!GetIpNetTable(ipNetTable, &size, FALSE)) ipNetTable = table;
+ if (!GetIpNetTable(table, &size, FALSE)) ipNetTable = table;
else HeapFree(GetProcessHeap(), 0, table );
}
}
--
1.5.5.1
--------------090301000108050101030307--
More information about the wine-patches
mailing list