about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-02 22:49:30 +0100
committerJames Booth <boothj5@gmail.com>2016-05-02 22:49:30 +0100
commit2e1eb9210a2ed1d543a63dae442d4bd52f547841 (patch)
tree57c69f667ce109abf7f0b8e84e8f6a5a1e1ab3ef
parentaabe3afff88a71c295386a22315c183aba894ac9 (diff)
downloadprofani-tty-2e1eb9210a2ed1d543a63dae442d4bd52f547841.tar.gz
Remove userdata from _blocklist_result_handler
-rw-r--r--src/xmpp/blocking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/blocking.c b/src/xmpp/blocking.c
index 735b9140..206e188d 100644
--- a/src/xmpp/blocking.c
+++ b/src/xmpp/blocking.c
@@ -73,7 +73,7 @@ blocking_request(void)
     }
     blocked_ac = autocomplete_new();
 
-    iq_id_handler_add(id, _blocklist_result_handler, id);
+    iq_id_handler_add(id, _blocklist_result_handler, NULL);
 
     iq = stanza_create_blocked_list_request(ctx);
     xmpp_stanza_set_id(iq, id);