From 6e6a07b660a89d881cc183c65f0ca3da0d35b906 Mon Sep 17 00:00:00 2001 From: Gregor Best Date: Sun, 6 Jun 2010 13:55:46 +0200 Subject: [PATCH] dbus: fix compiling error Signed-off-by: Gregor Best Signed-off-by: Julien Danjou --- dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbus.c b/dbus.c index 193d45c6c..c059b2ccd 100644 --- a/dbus.c +++ b/dbus.c @@ -282,7 +282,7 @@ a_dbus_convert_value(lua_State *L, int idx, DBusMessageIter *iter) { luaA_warn(globalconf.L, "your D-Bus signal handling method returned wrong number of arguments"); - return; + return false; } /* Push the array */ @@ -424,7 +424,7 @@ a_dbus_process_request(DBusConnection *dbus_connection, DBusMessage *msg) luaA_warn(globalconf.L, "your D-Bus signal handling method returned wrong number of arguments"); /* Remove returned values from the stack */ - lua_pop(L, - n); + lua_pop(globalconf.L, - n); return; }