From: Daniel Stenberg Date: Tue, 10 Nov 2015 08:10:46 +0000 (+0100) Subject: http2: rectify the http2 version #if check X-Git-Tag: curl-7_46_0~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=01b7d8274c4c9ad33cd8d0eeb5eeaa9a28a23c15;p=thirdparty%2Fcurl.git http2: rectify the http2 version #if check We need 1.0.0 or later. Also verified by configure. --- diff --git a/lib/http2.c b/lib/http2.c index 261e7f98d5..e762007208 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -42,7 +42,7 @@ #define MIN(x,y) ((x)<(y)?(x):(y)) -#if (NGHTTP2_VERSION_NUM < 0x000600) +#if (NGHTTP2_VERSION_NUM < 0x010000) #error too old nghttp2 version, upgrade! #endif