mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
http2: fix switched macro when http2 is not enabled
This commit is contained in:
parent
7b7f0da4a7
commit
2ee3c63b13
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user