[asterisk-commits] qwell: trunk r305693 - in /trunk: ./ channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 1 16:49:00 CST 2011


Author: qwell
Date: Tue Feb  1 16:48:55 2011
New Revision: 305693

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=305693
Log:
Merged revisions 305692 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r305692 | qwell | 2011-02-01 16:48:16 -0600 (Tue, 01 Feb 2011) | 7 lines
  
  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:
    trunk/   (props changed)
    trunk/channels/chan_iax2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/channels/chan_iax2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=305693&r1=305692&r2=305693
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Feb  1 16:48:55 2011
@@ -8614,7 +8614,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