[asterisk-commits] mmichelson: branch mmichelson/udptl-v6 r278577 - /team/mmichelson/udptl-v6/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 21 17:14:21 CDT 2010


Author: mmichelson
Date: Wed Jul 21 17:14:18 2010
New Revision: 278577

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=278577
Log:
I convinced myself that my XXX comment is correct.


Modified:
    team/mmichelson/udptl-v6/main/udptl.c

Modified: team/mmichelson/udptl-v6/main/udptl.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/udptl-v6/main/udptl.c?view=diff&rev=278577&r1=278576&r2=278577
==============================================================================
--- team/mmichelson/udptl-v6/main/udptl.c (original)
+++ team/mmichelson/udptl-v6/main/udptl.c Wed Jul 21 17:14:18 2010
@@ -1053,8 +1053,7 @@
 	memset(buf, 0, sizeof(buf));
 
 	/* If we have no peer, return immediately */
-	/* XXX Should this be ast_sockaddr_isnull()? */
-	if (ast_sockaddr_is_any(&s->them)) {
+	if (ast_sockaddr_isnull(&s->them)) {
 		return 0;
 	}
 




More information about the asterisk-commits mailing list