[asterisk-commits] qwell: branch 1.8 r305692 - /branches/1.8/channels/chan_iax2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 1 16:48:21 CST 2011
Author: qwell
Date: Tue Feb 1 16:48:16 2011
New Revision: 305692
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=305692
Log:
Reverse sense of an error test when reading from astdb.
(closes issue #18545)
Reported by: jcovert
Patches:
chan_iax2.c.patch uploaded by jcovert (license 551)
Modified:
branches/1.8/channels/chan_iax2.c
Modified: branches/1.8/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_iax2.c?view=diff&rev=305692&r1=305691&r2=305692
==============================================================================
--- branches/1.8/channels/chan_iax2.c (original)
+++ branches/1.8/channels/chan_iax2.c Tue Feb 1 16:48:16 2011
@@ -8617,7 +8617,7 @@
}
*expiry++ = '\0';
- if (ast_sockaddr_parse(&p->addr, data, PARSE_PORT_REQUIRE)) {
+ if (!ast_sockaddr_parse(&p->addr, data, PARSE_PORT_REQUIRE)) {
ast_log(LOG_NOTICE, "IAX/Registry astdb host:port invalid - '%s'\n", data);
return;
}
More information about the asterisk-commits
mailing list