about summary refs log tree commit diff stats
path: root/src/xmpp/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/connection.c')
-rw-r--r--src/xmpp/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c
index 5ffaa129..5d509d87 100644
--- a/src/xmpp/connection.c
+++ b/src/xmpp/connection.c
@@ -269,7 +269,8 @@ connection_free_resources(void)
 }
 
 int
-connection_error_handler(xmpp_stanza_t * const stanza)
+connection_error_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
+    void * const userdata)
 {
     gchar *err_msg = NULL;
     gchar *from = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM);