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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 1 11:58:38 CDT 2010


Author: simon.perreault
Date: Tue Jun  1 11:58:36 2010
New Revision: 266684

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=266684
Log:
Fixed host-port splitting for IPv6 addresses that start with a colon.

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=266684&r1=266683&r2=266684
==============================================================================
--- team/group/v6-new/main/netsock2.c (original)
+++ team/group/v6-new/main/netsock2.c Tue Jun  1 11:58:36 2010
@@ -130,7 +130,7 @@
 			*port = s + 1;
 		}
 	} else {
-		*host = s++;
+		*host = s;
 		for (; *s; ++s) {
 			if (*s == ':') {
 				if (*port) {




More information about the asterisk-commits mailing list