Fixed l_log to prevent percentage characters from Lua interfering with formatting.

This commit is contained in:
ivanr 2007-12-19 17:47:08 +00:00
parent a0198a9e6c
commit 6974a1c781

View File

@ -123,7 +123,7 @@ static int l_log(lua_State *L) {
/* Log message. */
if (msr != NULL) {
msr_log(msr, level, text);
msr_log(msr, level, "%s", text);
}
return 0;