From 49f3a1cbf244e6781623127f60012de2408971a9 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 13 Dec 2013 11:21:49 +0100 Subject: [PATCH] nit --- pdns/ext/yahttp/yahttp/utility.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ext/yahttp/yahttp/utility.hpp b/pdns/ext/yahttp/yahttp/utility.hpp index ba9ed9461..ceb1dad3c 100644 --- a/pdns/ext/yahttp/yahttp/utility.hpp +++ b/pdns/ext/yahttp/yahttp/utility.hpp @@ -45,7 +45,7 @@ namespace YaHTTP { if (*iter != '+' && !(encodeSlash == false || *iter == '/') && !std::isalnum(*iter)) { // replace with different thing pos = std::distance(result.begin(), iter); - std::snprintf(repl,3,"%02x", *iter); + ::snprintf(repl,3,"%02x", *iter); result = result.replace(pos, 1, "%", 1).insert(pos+1, repl, 2); iter = result.begin() + pos + 2; } -- 2.40.0