projects
/
cascardo
/
pubsub-bot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print debug information into console.
[cascardo/pubsub-bot.git]
/
status.c
diff --git
a/status.c
b/status.c
index
2c78898
..
5b32daa
100644
(file)
--- a/
status.c
+++ b/
status.c
@@
-497,6
+497,7
@@
gettune (DBusConnection *conn, DBusMessage *msg, void *data)
iks *tune;
if (dbus_message_is_signal (msg, "org.MetaPlayer.tag", "playing"))
{
+ printf("publishing tune\n");
tune = tune_from_dbus (msg);
pushtune (data, "http://jabber.org/protocol/tune", tune);
return DBUS_HANDLER_RESULT_HANDLED;