signal: Fix another "unknown signal" warning
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
f89252962e
commit
4b69718072
7
dbus.c
7
dbus.c
|
@ -397,8 +397,13 @@ a_dbus_process_request(DBusConnection *dbus_connection, DBusMessage *msg)
|
|||
nargs += a_dbus_message_iter(&iter);
|
||||
|
||||
if(dbus_message_get_no_reply(msg))
|
||||
{
|
||||
signal_t *sigfound = signal_array_getbyid(&dbus_signals,
|
||||
a_strhash((const unsigned char *) NONULL(interface)));
|
||||
/* emit signals */
|
||||
signal_object_emit(globalconf.L, &dbus_signals, NONULL(interface), nargs);
|
||||
if(sigfound)
|
||||
signal_object_emit(globalconf.L, &dbus_signals, NONULL(interface), nargs);
|
||||
}
|
||||
else
|
||||
{
|
||||
signal_t *sig = signal_array_getbyid(&dbus_signals,
|
||||
|
|
Loading…
Reference in New Issue