From 701acdd41542656493d753a75480bc0594ea74b9 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 16 Dec 2005 18:58:00 +0100 Subject: Non-blocking SSL handshakes for GnuTLS. The rest might come later, but is slightly less important. --- protocols/oscar/conn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/oscar') diff --git a/protocols/oscar/conn.c b/protocols/oscar/conn.c index 0155e5bc..77ffd50f 100644 --- a/protocols/oscar/conn.c +++ b/protocols/oscar/conn.c @@ -626,9 +626,7 @@ int aim_conn_completeconnect(aim_session_t *sess, aim_conn_t *conn) return -1; } -#ifndef _WIN32 - fcntl(conn->fd, F_SETFL, 0); /* XXX should restore original flags */ -#endif + sock_make_blocking(conn->fd); conn->status &= ~AIM_CONN_STATUS_INPROGRESS; -- cgit v1.2.3