aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-11-13 15:39:15 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-11-13 15:39:15 +0100
commit2ee3c63b135ffe140a886298214ce26bb540ff7d (patch)
tree320a64a1dafe9983779f93e93217c71ee0eaf2c0
parent7b7f0da4a7397c918308bf9acb831d4a1d1a9583 (diff)
http2: fix switched macro when http2 is not enabled
-rw-r--r--lib/http2.h2
1 files changed, 1 insertions, 1 deletions
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 */