--- a/disco.c Wed Nov 10 11:23:48 2010 +0100
+++ b/disco.c Wed Nov 10 11:25:08 2010 +0100
@@ -170,7 +170,7 @@
identities = g_slist_append (identities, identity);
} else if (!strcasecmp (node->name, "feature"))
features = g_slist_insert_sorted (features, (gpointer) lm_message_node_get_attribute (node, "var"), (GCompareFunc) g_strcmp0);
-
+
// call handler
cb -> handler (identities, features, cb -> data);
@@ -248,7 +248,7 @@
items = g_slist_append (items, item);
}
-
+
// call handler
cb -> handler (items, cb -> data);
@@ -354,7 +354,7 @@
{
disco_info_reply_handler_t *cb = g_new (disco_info_reply_handler_t, 1);
-
+
lhandler = lm_message_handler_new (disco_info_reply_handler, cb, disco_info_reply_handler_destroy_notify);
cb -> handler = handler;
@@ -403,7 +403,7 @@
{
disco_items_reply_handler_t *cb = g_new (disco_items_reply_handler_t, 1);
-
+
lhandler = lm_message_handler_new (disco_items_reply_handler, cb, disco_items_reply_handler_destroy_notify);
cb -> handler = handler;
@@ -567,7 +567,7 @@
if (info != -1) {
char *to = NULL;
char *dnode = NULL;
-
+
if (args[0] && args[1]) {
char *p = args[1];
@@ -659,7 +659,7 @@
// completion
if (disco_cid)
compl_del_category (disco_cid);
-
+
// hook handler
hk_del_handler (HOOK_PRE_DISCONNECT, disco_hid);