diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server_events.c | 4 | ||||
-rw-r--r-- | src/server_events.h | 2 | ||||
-rw-r--r-- | src/xmpp/presence.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/server_events.c b/src/server_events.c index 1e99383c..724c3d00 100644 --- a/src/server_events.c +++ b/src/server_events.c @@ -37,9 +37,9 @@ #include "otr.h" #endif -// TODO - replace with stanza error handlers +// handle presence stanza errors void -handle_error_message(const char *from, const char *err_msg) +handle_presence_error(const char *from, const char *err_msg) { ui_handle_error_message(from, err_msg); diff --git a/src/server_events.h b/src/server_events.h index a0ea6d13..0eab4d2c 100644 --- a/src/server_events.h +++ b/src/server_events.h @@ -25,7 +25,7 @@ #include "xmpp/xmpp.h" -void handle_error_message(const char *from, const char *err_msg); +void handle_presence_error(const char *from, const char *err_msg); void handle_login_account_success(char *account_name); void handle_lost_connection(void); void handle_failed_login(void); diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index f30c8373..682a91c3 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -370,7 +370,7 @@ _presence_error_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, g_string_free(log_msg, TRUE); - handle_error_message(from, err_msg); + handle_presence_error(from, err_msg); free(err_msg); |