From: Daniel Stenberg Date: Mon, 14 Mar 2011 10:13:12 +0000 (+0100) Subject: sslgen: define Curl_ssl_connect_nonblocking for non-SSL X-Git-Tag: curl-7_21_5~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fdaa8da75d54c863af7c1c16b14e19c31777d448;p=curl sslgen: define Curl_ssl_connect_nonblocking for non-SSL The non-blocking connect improvement for IMAP showed that we didn't properly define the Curl_ssl_connect_nonblocking function for non-SSL builds. Reported by: Tor Arntsen --- diff --git a/lib/sslgen.h b/lib/sslgen.h index 997e30d35..af582e06f 100644 --- a/lib/sslgen.h +++ b/lib/sslgen.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, 2010, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -86,7 +86,7 @@ void Curl_ssl_delsessionid(struct connectdata *conn, void *ssl_sessionid); #define Curl_ssl_data_pending(x,y) 0 #define Curl_ssl_check_cxn(x) 0 #define Curl_ssl_free_certinfo(x) - +#define Curl_ssl_connect_nonblocking(x,y,z) CURLE_FAILED_INIT #endif #endif /* USE_SSL */