From 2ee3c63b135ffe140a886298214ce26bb540ff7d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 13 Nov 2014 15:39:15 +0100 Subject: http2: fix switched macro when http2 is not enabled --- lib/http2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/http2.h b/lib/http2.h index 5218957f5..a2e4eb7c2 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -44,7 +44,7 @@ CURLcode Curl_http2_switched(struct connectdata *conn, #define Curl_http2_send_request(x) CURLE_UNSUPPORTED_PROTOCOL #define Curl_http2_request_upgrade(x,y) CURLE_UNSUPPORTED_PROTOCOL #define Curl_http2_setup(x) CURLE_UNSUPPORTED_PROTOCOL -#define Curl_http2_switched(x) CURLE_UNSUPPORTED_PROTOCOL +#define Curl_http2_switched(x,y,z) CURLE_UNSUPPORTED_PROTOCOL #endif #endif /* HEADER_CURL_HTTP2_H */ -- cgit v1.2.3