summaryrefslogtreecommitdiff
path: root/src/script/cpp_api
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-08-10 01:38:09 -0400
committerkwolekr <kwolekr@minetest.net>2015-08-10 01:38:09 -0400
commit18cfd89a86af550b3c4663def77a5fac46e895ae (patch)
treeb21ade5d67ac05682314317921a6431c5562035f /src/script/cpp_api
parenta953ff4dfc9f786ee379643b6b498a5699203ff1 (diff)
downloadminetest-18cfd89a86af550b3c4663def77a5fac46e895ae.tar.gz
minetest-18cfd89a86af550b3c4663def77a5fac46e895ae.tar.bz2
minetest-18cfd89a86af550b3c4663def77a5fac46e895ae.zip
Display Lua memory usage at the time of Out-of-Memory error
Also misc. minor cleanups
Diffstat (limited to 'src/script/cpp_api')
-rw-r--r--src/script/cpp_api/s_async.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_async.cpp b/src/script/cpp_api/s_async.cpp
index 0e2a006ca..c00b22f98 100644
--- a/src/script/cpp_api/s_async.cpp
+++ b/src/script/cpp_api/s_async.cpp
@@ -255,7 +255,7 @@ void* AsyncWorkerThread::Thread()
std::string script = getServer()->getBuiltinLuaPath() + DIR_DELIM + "init.lua";
if (!loadScript(script)) {
errorstream
- << "AsyncWorkderThread execution of async base environment failed!"
+ << "AsyncWorkerThread execution of async base environment failed!"
<< std::endl;
abort();
}