mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:27:16 +03:00
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:
parent
01d7bbbebe
commit
900ccc26ae
1 changed files with 3 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue