aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-05-19 19:58:01 +0200
committerKahrl <kahrl@gmx.net>2013-05-19 19:58:01 +0200
commitcc92e45b78dd8955e43b2828eafb4b4e3a0a1b99 (patch)
tree1ec205b52885bbd222210de83dff54e98c178f10
parentb2253e5b42aed74365cb6d10b90fea4a30dee5fa (diff)
downloadminetest-cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99.tar.gz
minetest-cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99.tar.bz2
minetest-cc92e45b78dd8955e43b2828eafb4b4e3a0a1b99.zip
Fix EmergeThread names in log
Concatenate the thread id as string instead of adding it to the pointer
-rw-r--r--src/emerge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp
index 2d8b01819..b31a942e3 100644
--- a/src/emerge.cpp
+++ b/src/emerge.cpp
@@ -349,7 +349,7 @@ bool EmergeThread::getBlockOrStartGen(v3s16 p, MapBlock **b,
void *EmergeThread::Thread() {
ThreadStarted();
- log_register_thread("EmergeThread" + id);
+ log_register_thread("EmergeThread" + itos(id));
DSTACK(__FUNCTION_NAME);
BEGIN_DEBUG_EXCEPTION_HANDLER