aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-10 09:10:46 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-10 09:10:46 +0100
commit01b7d8274c4c9ad33cd8d0eeb5eeaa9a28a23c15 (patch)
tree16c0985bb29e2de5f6cdd25a42e1c3acad4ce38e
parent7023d8aa370db83daa3b6f3067d60302098aa157 (diff)
http2: rectify the http2 version #if check
We need 1.0.0 or later. Also verified by configure.
-rw-r--r--lib/http2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 261e7f98d..e76200720 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