summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/script_lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/src/mobile/script_lua.c')
-rw-r--r--src/host/layer23/src/mobile/script_lua.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/script_lua.c b/src/host/layer23/src/mobile/script_lua.c
index cbba0708..422f9e4f 100644
--- a/src/host/layer23/src/mobile/script_lua.c
+++ b/src/host/layer23/src/mobile/script_lua.c
@@ -56,10 +56,11 @@ static int lua_osmo_do_log(lua_State *L, int loglevel)
lua_getstack(L, 1, &ar);
lua_getinfo(L, "nSl", &ar);
+ LOGPSRC(DLUA, loglevel, ar.source, ar.currentline, "%s", "");
for (i = 1; i <= argc; ++i) {
if (!lua_isstring(L, i))
continue;
- LOGPSRC(DLUA, loglevel, ar.source, ar.currentline,
+ LOGPSRCC(DLUA, loglevel, ar.source, ar.currentline, 1,
"%s%s", i > 1 ? "\t" : "", lua_tostring(L, i));
}
LOGPC(DLUA, loglevel, "\n");