]> granicus.if.org Git - curl/commitdiff
http2: rectify the http2 version #if check
authorDaniel Stenberg <daniel@haxx.se>
Tue, 10 Nov 2015 08:10:46 +0000 (09:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 Nov 2015 08:10:46 +0000 (09:10 +0100)
We need 1.0.0 or later. Also verified by configure.

lib/http2.c

index 261e7f98d5f5ba143aa5606a98feda2970489964..e762007208ca3f4703014fb73a816b683661724f 100644 (file)
@@ -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