From 1dfa2c2a8dab0f2341d9cb788a13e9161f7adaaf Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 9 Nov 2009 20:49:02 +0100 Subject: [PATCH] dbus: field can be nil Signed-off-by: Julien Danjou --- dbus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbus.c b/dbus.c index 8e87dc854..f44294a0a 100644 --- a/dbus.c +++ b/dbus.c @@ -289,15 +289,15 @@ a_dbus_process_request(DBusConnection *dbus_connection, DBusMessage *msg) lua_setfield(globalconf.L, -2, "type"); - lua_pushstring(globalconf.L, NONULL(interface)); + lua_pushstring(globalconf.L, interface); lua_setfield(globalconf.L, -2, "interface"); const char *s = dbus_message_get_path(msg); - lua_pushstring(globalconf.L, NONULL(s)); + lua_pushstring(globalconf.L, s); lua_setfield(globalconf.L, -2, "path"); s = dbus_message_get_member(msg); - lua_pushstring(globalconf.L, NONULL(s)); + lua_pushstring(globalconf.L, s); lua_setfield(globalconf.L, -2, "member"); if(dbus_connection == dbus_connection_system)