From 2568cfed2da753c25adb0b803672ee40e7eb6c65 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 25 Jun 2017 13:06:54 +0200 Subject: vtls: make sure all _data_pending() functions return bool This patch makes the signature of the _data_pending() functions consistent among the SSL backends, in preparation for unifying the way all SSL backends are accessed. Signed-off-by: Johannes Schindelin --- lib/vtls/polarssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vtls/polarssl.h') diff --git a/lib/vtls/polarssl.h b/lib/vtls/polarssl.h index 47af7b417..c7b184941 100644 --- a/lib/vtls/polarssl.h +++ b/lib/vtls/polarssl.h @@ -31,7 +31,7 @@ /* Called on first use PolarSSL, setup threading if supported */ int Curl_polarssl_init(void); void Curl_polarssl_cleanup(void); -int Curl_polarssl_data_pending(const struct connectdata *conn, int sockindex); +bool Curl_polarssl_data_pending(const struct connectdata *conn, int sockindex); CURLcode Curl_polarssl_connect(struct connectdata *conn, int sockindex); -- cgit v1.2.3