# HG changeset patch # User Mikael Berthe # Date 1186928392 -7200 # Node ID 3bd496b9a9f77bb1ea81b50cb124414ea9a54196 # Parent 18ef697e706da4484c0ded3fc6cc5110e5bfe092 Fix proxy usage when SSL is disabled Thanks to "Dr. Guildo" for the report. diff -r 18ef697e706d -r 3bd496b9a9f7 mcabber/connwrap/connwrap.c --- a/mcabber/connwrap/connwrap.c Wed Jul 04 18:08:35 2007 +0200 +++ b/mcabber/connwrap/connwrap.c Sun Aug 12 16:19:52 2007 +0200 @@ -498,7 +498,7 @@ } #endif if ( !(*state & CW_CONNECT_WANT_SOMETHING)) { - rc = connect(sockfd, serv_addr, addrlen); + rc = cw_connect(sockfd, serv_addr, addrlen, 0); } else { /* check if the socket is connected correctly */ int optlen = sizeof(int), optval; if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &optval,