From: Remi Gacogne Date: Mon, 21 May 2018 16:38:26 +0000 (+0200) Subject: rec: Fix 'adding an integer to a string does not append to it' error X-Git-Tag: dnsdist-1.3.1~73^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6640%2Fhead;p=thirdparty%2Fpdns.git rec: Fix 'adding an integer to a string does not append to it' error --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index dac86fb0c8..4d89766cd2 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2508,7 +2508,7 @@ void distributeAsyncFunction(const string& packet, const pipefunc_t& func) if (error == EAGAIN || error == EWOULDBLOCK) { g_stats.queryPipeFullDrops++; } else { - unixDie("write to thread pipe returned wrong size or error:" + error); + unixDie("write to thread pipe returned wrong size or error:" + std::to_string(error)); } } }