]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix 'adding an integer to a string does not append to it' error 6642/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 May 2018 16:38:26 +0000 (18:38 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 22 May 2018 08:48:00 +0000 (10:48 +0200)
(cherry picked from commit 1763442754e6a30dd0fc0c6a37316c2b30b9a3b8)

pdns/pdns_recursor.cc

index 24c5dffe62a0e5bf1aaea79fb9a82d1490fc6d1f..6175af2f2e96bb3ef1623a1998a44b243a6c4bdd 100644 (file)
@@ -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));
     }
   }
 }