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: rec-4.1.3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6642%2Fhead;p=thirdparty%2Fpdns.git rec: Fix 'adding an integer to a string does not append to it' error (cherry picked from commit 1763442754e6a30dd0fc0c6a37316c2b30b9a3b8) --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 24c5dffe62..6175af2f2e 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2331,7 +2331,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)); } } }