Put this do...while():
/* search for next dialog node */
do {
LM_ERR("do entered \n");
if(node->next != NULL && node->next->name != NULL
&& xmlStrcmp(node->name, node->next->name) == 0) {
node = node->next;
LM_ERR("break it \n");
break;
}
if(node->next != NULL && node->next->name != NULL) {
LM_ERR("compared [%s] with [%s]\n", node->name, node->next->name);
}
node = node->next;
LM_ERR("node->next \n");
} while(node != NULL);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.