It is unlikely that this patch solves any eventual issues that you had.
You changed the comparison of a pointer with NULL to 0 and, in C, NULL and 0 are the same in context of pointers:
- https://c-faq.com/null/nullor0.html
So practically there is not change in behaviour.
Cheers, Daniel
On 21.12.22 15:41, Olle E. Johansson wrote:
Ok, so the change for better was still random. Oh well, it looks better to compare with the same value that we initialized with so I guess it doesn’t harm.
We have problems with getting DMQ initializing properly with four notification nodes. Kamailio doesn’t load all of them at start. We get very random behaviour.
Debugging continues :-)… Who cares about holidays when you have an interesting problem at hand? :-) I’ll create a local branch and add even more debugging.
/O