]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Fix ESL infinite loop on handle_recv() when errno is already set
authorMoises Silva <moy@sangoma.com>
Wed, 29 Jan 2014 00:07:34 +0000 (19:07 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 31 Jan 2014 20:40:29 +0000 (01:40 +0500)
commitf5f4df348336298d19d1484040fa05700631fec1
treebf955466cd3befdf47d01109027a73962766c8ac
parentdfd591e9f52cdc71f3837e123db5bace9c5474b8
Fix ESL infinite loop on handle_recv() when errno is already set
system calls do not clear errno, just set it in case of failure, so we
gotta make sure the recv() syscall really failed by checking the return value
libs/esl/src/esl.c