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

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


Author: simon.perreault
Date: Mon Jul  5 09:21:11 2010
New Revision: 273910

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273910
Log:
Fixed typo

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

Modified: team/group/v6-new/main/http.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/main/http.c?view=diff&rev=273910&r1=273909&r2=273910
==============================================================================
--- team/group/v6-new/main/http.c (original)
+++ team/group/v6-new/main/http.c Mon Jul  5 09:21:11 2010
@@ -1071,7 +1071,7 @@
 	/* if the https addres has not been set, default is the same as non secure http */
 	ast_sockaddr_to_sin(&http_desc.local_address, &tmp);
 	ast_sockaddr_to_sin(&https_desc.local_address, &tmp2);
-	if (!tmp.sin_addr.s_addr) {
+	if (!tmp2.sin_addr.s_addr) {
 		tmp2.sin_addr = tmp.sin_addr;
 		ast_sockaddr_from_sin(&https_desc.local_address, &tmp2);
 	}




More information about the asterisk-commits mailing list