diff options
author | James Booth <boothj5@gmail.com> | 2013-04-21 02:49:23 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-04-21 02:49:23 +0100 |
commit | b2c08cfc43966a69dc544db119ee615a20728a10 (patch) | |
tree | 01d743505f743ff8e8fe542f46b3ad54966089da /src/profanity.c | |
parent | f110a8fe3baf4149cde34d6c8fd6a3230d6a21b1 (diff) | |
download | profani-tty-b2c08cfc43966a69dc544db119ee615a20728a10.tar.gz |
Renamed cons_bad_show -> cons_show_error
Diffstat (limited to 'src/profanity.c')
-rw-r--r-- | src/profanity.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/profanity.c b/src/profanity.c index 2d37b817..0c872261 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -143,15 +143,15 @@ void prof_handle_error_message(const char *from, const char *err_msg) { if (err_msg == NULL) { - cons_bad_show("Unknown error received from service."); + cons_show_error("Unknown error received from service."); } else if (strcmp(err_msg, "conflict") == 0) { if (win_current_is_groupchat()) { win_current_show("Nickname already in use."); } else { - cons_bad_show("Error received from server: %s", err_msg); + cons_show_error("Error received from server: %s", err_msg); } } else { - cons_bad_show("Error received from server: %s", err_msg); + cons_show_error("Error received from server: %s", err_msg); } win_show_error_msg(from, err_msg); @@ -212,7 +212,7 @@ prof_handle_gone(const char * const from) void prof_handle_failed_login(void) { - cons_bad_show("Login failed."); + cons_show_error("Login failed."); log_info("Login failed"); win_current_page_off(); } @@ -220,7 +220,7 @@ prof_handle_failed_login(void) void prof_handle_lost_connection(void) { - cons_bad_show("Lost connection."); + cons_show_error("Lost connection."); contact_list_clear(); chat_sessions_clear(); ui_disconnected(); |