Mercurial > hg
changeset 1266:3bd496b9a9f7
Fix proxy usage when SSL is disabled
Thanks to "Dr. Guildo" for the report.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 12 Aug 2007 16:19:52 +0200 |
parents | 18ef697e706d |
children | c5257cbe6ae4 |
files | mcabber/connwrap/connwrap.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,