[asterisk-commits] russell: branch russell/func_devstate r54205 - in
/team/russell/func_devstate...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Feb 13 12:44:27 MST 2007
Author: russell
Date: Tue Feb 13 13:44:26 2007
New Revision: 54205
URL: http://svn.digium.com/view/asterisk?view=rev&rev=54205
Log:
Merged revisions 54204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54204 | russell | 2007-02-13 14:42:00 -0500 (Tue, 13 Feb 2007) | 5 lines
If we fail to create the SIP socket, then return -1 from reload_config() so
that load_module() will return AST_MODULE_LOAD_DECLINE. Otherwise, the console
will just get spammed with error messages every time chan_sip tries to send a
message.
........
Modified:
team/russell/func_devstate/ (props changed)
team/russell/func_devstate/channels/chan_sip.c
Propchange: team/russell/func_devstate/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: team/russell/func_devstate/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/russell/func_devstate/channels/chan_sip.c?view=diff&rev=54205&r1=54204&r2=54205
==============================================================================
--- team/russell/func_devstate/channels/chan_sip.c (original)
+++ team/russell/func_devstate/channels/chan_sip.c Tue Feb 13 13:44:26 2007
@@ -16886,6 +16886,7 @@
sipsock = socket(AF_INET, SOCK_DGRAM, 0);
if (sipsock < 0) {
ast_log(LOG_WARNING, "Unable to create SIP socket: %s\n", strerror(errno));
+ return -1;
} else {
/* Allow SIP clients on the same host to access us: */
const int reuseFlag = 1;
More information about the asterisk-commits
mailing list