aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-03-14 11:13:12 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-03-14 11:13:12 +0100
commitfdaa8da75d54c863af7c1c16b14e19c31777d448 (patch)
tree4e1f50aebeffd758016f3974fbd88e9aec0981db
parentc40ae2cbd2767d62bf396d98ef40d8dfd60215fd (diff)
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
-rw-r--r--lib/sslgen.h4
1 files changed, 2 insertions, 2 deletions
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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, 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 */