# HG changeset patch # User Mikael Berthe # Date 1289384708 -3600 # Node ID 104ecab6a1d5e8e080fba0d7766023c65ab4b6cb # Parent 14534d171215b4a411f7467168bc8a59a96c5837 Remove trailing space characters diff -r 14534d171215 -r 104ecab6a1d5 disco.c --- 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);