projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0129c9a
)
Profiler: Fix var args not being passed to callback register function
author
rubenwardy
<rw@rubenwardy.com>
Sat, 14 Oct 2017 17:28:56 +0000
(18:28 +0100)
committer
SmallJoker
<mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000
(17:31 +0200)
Fixes #6517
builtin/profiler/instrumentation.lua
patch
|
blob
|
history
diff --git
a/builtin/profiler/instrumentation.lua
b/builtin/profiler/instrumentation.lua
index be3a460e5b3bf1015fb40256b3932ccf9eace414..7c21859d3dadec9c5fd3ad35098584bc446d6378 100644
(file)
--- a/
builtin/profiler/instrumentation.lua
+++ b/
builtin/profiler/instrumentation.lua
@@
-133,7
+133,7
@@
local function instrument_register(func, func_name)
return func(instrument {
func = callback,
func_name = register_name
- }
), ...
+ }
, ...)
end
end