luaa: check that function is not NIL before pushing and calling
commitd1db6903fab8baddbdb275034a341d498e6c90db
authorJulien Danjou <julien@danjou.info>
Thu, 20 Nov 2008 16:48:23 +0000 (20 17:48 +0100)
committerJulien Danjou <julien@danjou.info>
Thu, 20 Nov 2008 16:48:23 +0000 (20 17:48 +0100)
treeee6e7b122fb101b02b9be42a542af3915cbbdd2e
parentee8bcd6c43f6c4c56279015e4c45bdc36b014397
luaa: check that function is not NIL before pushing and calling

Otherwise we may push unused elements because dofunction() checked
_after_ if the function was nil, or not.

Signed-off-by: Julien Danjou <julien@danjou.info>
client.c
event.c
ewmh.c
layout.c
luaa.c
luaa.h
mouse.c
tag.c
widget.c