Commit 6a025c5a authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

inetmib1: Rename a poorly named variable.

parent 8535f8c6
...@@ -456,11 +456,11 @@ static AsnInteger32 getItemAndInstanceFromTable(AsnObjectIdentifier *oid, ...@@ -456,11 +456,11 @@ static AsnInteger32 getItemAndInstanceFromTable(AsnObjectIdentifier *oid,
} }
else else
{ {
AsnObjectIdentifier ipOid = { instanceLen, AsnObjectIdentifier instanceOid = { instanceLen,
oid->ids + base->idLength + 1 }; oid->ids + base->idLength + 1 };
*instance = findNextOidInTable(&ipOid, table, tableEntrySize, *instance = findNextOidInTable(&instanceOid, table,
makeKey, compare); tableEntrySize, makeKey, compare);
if (!*instance || *instance > table->numEntries) if (!*instance || *instance > table->numEntries)
ret = SNMP_ERRORSTATUS_NOSUCHNAME; ret = SNMP_ERRORSTATUS_NOSUCHNAME;
} }
...@@ -477,10 +477,10 @@ static AsnInteger32 getItemAndInstanceFromTable(AsnObjectIdentifier *oid, ...@@ -477,10 +477,10 @@ static AsnInteger32 getItemAndInstanceFromTable(AsnObjectIdentifier *oid,
ret = SNMP_ERRORSTATUS_NOSUCHNAME; ret = SNMP_ERRORSTATUS_NOSUCHNAME;
else else
{ {
AsnObjectIdentifier ipOid = { instanceLen, AsnObjectIdentifier instanceOid = { instanceLen,
oid->ids + base->idLength + 1 }; oid->ids + base->idLength + 1 };
*instance = findOidInTable(&ipOid, table, tableEntrySize, *instance = findOidInTable(&instanceOid, table, tableEntrySize,
makeKey, compare); makeKey, compare);
if (!*instance) if (!*instance)
ret = SNMP_ERRORSTATUS_NOSUCHNAME; ret = SNMP_ERRORSTATUS_NOSUCHNAME;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment