[sr-dev] [kamailio/kamailio] "debug: previous udp send returned non zero" for every log message being sent to remote server with log_custom (#2452)

brooksbridges-call48 notifications at github.com
Fri Aug 21 21:10:14 CEST 2020


After further research, it appears that udp_send() returns the result of sendto() which to my understanding returns the number of bytes sent, so it will always be non-zero on a successful send.

It looks like back on Jan 19th the logging message was changed from LG_DBG to udp_send so I'm not sure if that was intentional or maybe an oversight?

-- 
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/2452#issuecomment-678447059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200821/16f54f26/attachment.htm>


More information about the sr-dev mailing list