Rico Schüller : inetmib1: Fix wrong arguments.

Alexandre Julliard julliard at winehq.org
Tue Aug 5 07:26:45 CDT 2008


Module: wine
Branch: master
Commit: c62529a7ae5e8cf679f788f9343fa558bbd2de94
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c62529a7ae5e8cf679f788f9343fa558bbd2de94

Author: Rico Schüller <kgbricola at web.de>
Date:   Tue Aug  5 13:33:00 2008 +0200

inetmib1: Fix wrong arguments.

---

 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 );
         }
     }




More information about the wine-cvs mailing list