286 |
|
*/ |
287 |
|
DLINK_FOREACH(ptr, aconf->leaf_list.head) |
288 |
|
if (match(ptr->data, name)) |
289 |
< |
++llined; |
289 |
> |
llined = 1, break; |
290 |
|
|
291 |
|
DLINK_FOREACH(ptr, aconf->hub_list.head) |
292 |
|
if (match(ptr->data, name)) |
293 |
< |
++hlined; |
293 |
> |
hlined = 1, break; |
294 |
|
|
295 |
|
/* Ok, this way this works is |
296 |
|
* |
477 |
|
*/ |
478 |
|
DLINK_FOREACH(ptr, aconf->leaf_list.head) |
479 |
|
if (match(ptr->data, parv[1])) |
480 |
< |
++llined; |
480 |
> |
llined = 1, break; |
481 |
|
|
482 |
|
DLINK_FOREACH(ptr, aconf->hub_list.head) |
483 |
|
if (match(ptr->data, parv[1])) |
484 |
< |
++hlined; |
484 |
> |
hlined = 1, break; |
485 |
|
|
486 |
|
|
487 |
|
/* Ok, this way this works is |