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:
This commit is contained in:
Gisle Vanem 2013-09-06 13:56:35 +02:00 committed by Daniel Stenberg
parent 01d7bbbebe
commit 900ccc26ae
1 changed files with 3 additions and 0 deletions

View File

@ -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"