diff --git a/hipadaba.c b/hipadaba.c index 7ca1cf87..ce13e964 100644 --- a/hipadaba.c +++ b/hipadaba.c @@ -583,6 +583,7 @@ void AddHipadabaChild(pHdb parent, pHdb child, void *callData){ * step to end of child chain */ while(current != NULL){ + assert(strcmp(current->name,child->name)!=0); prev = current; current = current->next; }