]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.5.STABLE10-snmp_getnext.patch
- removed outdated squid patches, they're all in sources
[packages/squid.git] / squid-2.5.STABLE10-snmp_getnext.patch
CommitLineData
d29ec517 1Index: squid/src/snmp_core.c
2diff -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.028313 seconds and 4 git commands to generate.