[asterisk-commits] may: branch may/ooh323_ipv6 r313479 - /team/may/ooh323_ipv6/addons/ooh323c/src/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 12 15:18:16 CDT 2011
Author: may
Date: Tue Apr 12 15:18:12 2011
New Revision: 313479
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313479
Log:
remove connect on socket twice
Modified:
team/may/ooh323_ipv6/addons/ooh323c/src/ooSocket.c
Modified: team/may/ooh323_ipv6/addons/ooh323c/src/ooSocket.c
URL: http://svnview.digium.com/svn/asterisk/team/may/ooh323_ipv6/addons/ooh323c/src/ooSocket.c?view=diff&rev=313479&r1=313478&r2=313479
==============================================================================
--- team/may/ooh323_ipv6/addons/ooh323c/src/ooSocket.c (original)
+++ team/may/ooh323_ipv6/addons/ooh323c/src/ooSocket.c Tue Apr 12 15:18:12 2011
@@ -407,8 +407,6 @@
ast_parse_arg(host, PARSE_ADDR, &m_addr);
ast_sockaddr_set_port(&m_addr, port);
- if (connect (socket, (struct sockaddr *) (void*) &m_addr,
- sizeof (struct sockaddr_in)) == -1)
if (ast_connect(socket, &m_addr))
{
return ASN_E_INVSOCKET;
More information about the asterisk-commits
mailing list