From ab66ce8bec89b1d25d9a18d25ae22d6c98e89f13 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)