mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-h-enumerate-r-fix-for-real-20060116
FIXES 24196 make this not simply wrong (cherry picked from commit 93e1cee7046984a81f0339484713649aceb25f3a)
This commit is contained in:
parent
26c7361f2b
commit
85edef5b61
@ -902,8 +902,8 @@ h_Enumerate_r(int (*proc) (), struct host *enumstart, char *param)
|
||||
if (hostCount == 0) {
|
||||
return;
|
||||
}
|
||||
if (!(held = h_Held_r(host)))
|
||||
h_Hold_r(host);
|
||||
if (enumstart && !(held = h_Held_r(enumstart)))
|
||||
h_Hold_r(enumstart);
|
||||
for (host = enumstart; host; host = next, held = nheld) {
|
||||
held = (*proc) (host, held, param);
|
||||
next = host->next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user