Skip to content

Commit

Permalink
http2: fix switched macro when http2 is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Nov 13, 2014
1 parent 7b7f0da commit 2ee3c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2ee3c63

Please sign in to comment.