]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix 'adding an integer to a string does not append to it' error 6640/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 May 2018 16:38:26 +0000 (18:38 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 May 2018 16:38:26 +0000 (18:38 +0200)
pdns/pdns_recursor.cc

index dac86fb0c85f87a80861270b9e7af070b1c8b321..4d89766cd2248b52f18b0219ee032a01980b46bc 100644 (file)
@@ -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));
     }
   }
 }