167 } |
167 } |
168 } |
168 } |
169 |
169 |
170 // remember a candidate for adding the data |
170 // remember a candidate for adding the data |
171 // also remember the exact return code from sfunc |
171 // also remember the exact return code from sfunc |
172 void *candidate = NULL; |
172 void *candidate = (void *) root; |
173 int ret_candidate = -1; |
173 int ret_candidate = ret; |
174 |
174 |
175 // process the working stack |
175 // process the working stack |
176 while (work_size > 0) { |
176 while (work_size > 0) { |
177 // pop element |
177 // pop element |
178 void const *node = work[--work_size]; |
178 void const *node = work[--work_size]; |