inetmib1: Rename a poorly named variable.

oldstable
Juan Lang 2009-05-15 08:00:31 -07:00 committed by Alexandre Julliard
parent 8535f8c670
commit 6a025c5a32
1 changed files with 5 additions and 5 deletions

View File

@ -456,11 +456,11 @@ static AsnInteger32 getItemAndInstanceFromTable(AsnObjectIdentifier *oid,
}
else
{
AsnObjectIdentifier ipOid = { instanceLen,
AsnObjectIdentifier instanceOid = { instanceLen,
oid->ids + base->idLength + 1 };
*instance = findNextOidInTable(&ipOid, table, tableEntrySize,
makeKey, compare);
*instance = findNextOidInTable(&instanceOid, table,
tableEntrySize, makeKey, compare);
if (!*instance || *instance > table->numEntries)
ret = SNMP_ERRORSTATUS_NOSUCHNAME;
}
@ -477,10 +477,10 @@ static AsnInteger32 getItemAndInstanceFromTable(AsnObjectIdentifier *oid,
ret = SNMP_ERRORSTATUS_NOSUCHNAME;
else
{
AsnObjectIdentifier ipOid = { instanceLen,
AsnObjectIdentifier instanceOid = { instanceLen,
oid->ids + base->idLength + 1 };
*instance = findOidInTable(&ipOid, table, tableEntrySize,
*instance = findOidInTable(&instanceOid, table, tableEntrySize,
makeKey, compare);
if (!*instance)
ret = SNMP_ERRORSTATUS_NOSUCHNAME;