From 61dbb0571c62c5ab0e4c22c4fb66031f91280114 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 21 May 2018 18:38:26 +0200 Subject: [PATCH] rec: Fix 'adding an integer to a string does not append to it' error (cherry picked from commit 1763442754e6a30dd0fc0c6a37316c2b30b9a3b8) --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } } -- 2.47.2