diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-16 18:58:00 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-16 18:58:00 +0100 |
commit | 701acdd41542656493d753a75480bc0594ea74b9 (patch) | |
tree | 6c744a64385511df327f9fa8c3081d81d18b4770 /protocols/oscar/conn.c | |
parent | c4168f4cfe553d111941ee385a94facb5449652d (diff) |
Non-blocking SSL handshakes for GnuTLS. The rest might come later, but is
slightly less important.
Diffstat (limited to 'protocols/oscar/conn.c')
-rw-r--r-- | protocols/oscar/conn.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |