1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Renamed handle_error_message -> handle_presence_error

This commit is contained in:
James Booth 2014-01-30 21:43:31 +00:00
parent af880e2cfb
commit 2cd24a484a
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);