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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1427#issuecomment-365991818
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to