Juan Lang : inetmib1: Don' t query the same OID twice if it returns SNMP_ERRORSTATUS_NOSUCHNAME the first time .
Alexandre Julliard
julliard at winehq.org
Fri May 15 07:47:02 CDT 2009
Module: wine
Branch: master
Commit: f95324c69e2f80c8ee571b376c7318e7007e31b8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f95324c69e2f80c8ee571b376c7318e7007e31b8
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu May 14 09:05:31 2009 -0700
inetmib1: Don't query the same OID twice if it returns SNMP_ERRORSTATUS_NOSUCHNAME the first time.
---
dlls/inetmib1/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/inetmib1/main.c b/dlls/inetmib1/main.c
index a6995ff..7ce0111 100644
--- a/dlls/inetmib1/main.c
+++ b/dlls/inetmib1/main.c
@@ -1371,7 +1371,7 @@ BOOL WINAPI SnmpExtensionQuery(BYTE bPduType, SnmpVarBindList *pVarBindList,
* so we have to continue until an implementation handles the
* query or we exhaust the table of supported OIDs.
*/
- for (; error == SNMP_ERRORSTATUS_NOSUCHNAME &&
+ for (matchingIndex++; error == SNMP_ERRORSTATUS_NOSUCHNAME &&
matchingIndex < DEFINE_SIZEOF(supportedIDs);
matchingIndex++)
{
More information about the wine-cvs
mailing list