[asterisk-commits] simon.perreault: branch group/v6-new r273974 - /team/group/v6-new/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 5 09:39:18 CDT 2010


Author: simon.perreault
Date: Mon Jul  5 09:39:15 2010
New Revision: 273974

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273974
Log:
Eat our own dog food

Modified:
    team/group/v6-new/main/netsock2.c

Modified: team/group/v6-new/main/netsock2.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/main/netsock2.c?view=diff&rev=273974&r1=273973&r2=273974
==============================================================================
--- team/group/v6-new/main/netsock2.c (original)
+++ team/group/v6-new/main/netsock2.c Mon Jul  5 09:39:15 2010
@@ -467,7 +467,7 @@
 int ast_sockaddr_to_sin(const struct ast_sockaddr *addr,
 			struct sockaddr_in *sin)
 {
-	if (addr->len == 0) {
+	if (ast_sockaddr_isnull(addr)) {
 		memset(sin, 0, sizeof(*sin));
 		return 1;
 	}




More information about the asterisk-commits mailing list