1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-18 07:16:34 +01:00

bump version to 0.4.1

This commit is contained in:
Jfreegman
2014-06-18 15:54:50 -04:00
parent 58a131426a
commit 7eb82a0fe5
3 changed files with 10 additions and 12 deletions

View File

@@ -111,14 +111,14 @@ void exit_toxic_success(Tox *m)
exit(EXIT_SUCCESS);
}
void exit_toxic_err(const char *errmsg, int retcode)
void exit_toxic_err(const char *errmsg, int errcode)
{
if (errmsg == NULL)
errmsg = "No error message";
endwin();
fprintf(stderr, "Toxic session aborted with return code %d (%s)\n", retcode, errmsg);
exit(retcode);
fprintf(stderr, "Toxic session aborted with error code %d (%s)\n", errcode, errmsg);
exit(EXIT_FAILURE);
}
static void init_term(void)