[sr-dev] [kamailio/kamailio] presence: incorrect dialog state for multiple dialogs xml body (#1427)

Daniel-Constantin Mierla notifications at github.com
Thu Feb 15 17:57:57 CET 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180215/77b06ba1/attachment.html>


More information about the sr-dev mailing list