snprintf on windows

This commit is contained in:
HanzZ 2012-09-01 08:13:19 +02:00
parent 4cb825c13d
commit a1853e0a8e

View file

@ -2,6 +2,10 @@
#include "httpfetch.h"
#include "transport/logging.h"
#if WIN32
#define snprintf sprintf_s
#endif
DEFINE_LOGGER(logger, "HTTPFetch");
static int url_to_host_port_path(const char *url,