]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE10-snmp_getnext.patch
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/squid.git] / squid-2.5.STABLE10-snmp_getnext.patch
1 Index: squid/src/snmp_core.c
2 diff -c squid/src/snmp_core.c:1.51.2.5 squid/src/snmp_core.c:1.51.2.6
3 *** squid/src/snmp_core.c:1.51.2.5      Wed May  4 12:03:47 2005
4 --- squid/src/snmp_core.c       Sun Jun 19 15:01:21 2005
5 ***************
6 *** 660,666 ****
7       if (Current[count] == mibTreeEntry->name[count]) {
8         count++;
9         while ((mibTreeEntry) && (count < CurrentLen) && (!mibTreeEntry->parsefunction)) {
10 !           mibTreeEntry = snmpTreeEntry(Current[count], count, mibTreeEntry);
11             count++;
12         }
13         debug(49, 5) ("snmpTreeNext: Recursed down to requested object\n");
14 --- 660,670 ----
15       if (Current[count] == mibTreeEntry->name[count]) {
16         count++;
17         while ((mibTreeEntry) && (count < CurrentLen) && (!mibTreeEntry->parsefunction)) {
18 !           mib_tree_entry *nextmibTreeEntry = snmpTreeEntry(Current[count], count, mibTreeEntry);
19 !           if (!nextmibTreeEntry)
20 !               break;
21 !           else
22 !               mibTreeEntry = nextmibTreeEntry;
23             count++;
24         }
25         debug(49, 5) ("snmpTreeNext: Recursed down to requested object\n");
This page took 0.035277 seconds and 3 git commands to generate.