diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2013-09-06 13:56:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-09-06 13:56:35 +0200 |
commit | 900ccc26ae2eda8b56f69775b59678734a1c4f99 (patch) | |
tree | 19b582f8c480fc413afb827d2ce88ab9bf916f54 | |
parent | 01d7bbbebe131d56fe0db4fe28885ba2975d2366 (diff) |
http2: use correct include for snprintf
Using the first little merge of nghttp2 into libcurl, I stumbeled on the
missing 'snprintf' in MSVCRT. Isn't this how we do it for other libcurl
files? I.e. use 'curl_msnprintf' and not 'snprintf' directly:
-rw-r--r-- | lib/http2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c index 8882f1f80..21be17ba7 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -23,6 +23,9 @@ #include "curl_setup.h" #ifdef USE_NGHTTP2 +#define _MPRINTF_REPLACE +#include <curl/mprintf.h> + #include <nghttp2/nghttp2.h> #include "http2.h" |