From 1763442754e6a30dd0fc0c6a37316c2b30b9a3b8 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 --- 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 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)); } } } -- 2.47.2