From: Peter van Dijk Date: Fri, 13 Dec 2013 10:21:49 +0000 (+0100) Subject: nit X-Git-Tag: rec-3.6.0-rc1~299 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49f3a1cbf244e6781623127f60012de2408971a9;p=pdns nit --- 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; }