1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00
profanity/main.c

21 lines
289 B
C
Raw Normal View History

2012-02-09 17:24:03 -05:00
#include "log.h"
#include "windows.h"
#include "profanity.h"
int main(void)
{
2012-02-18 16:02:51 -05:00
int exit_status;
2012-02-09 17:24:03 -05:00
log_init();
gui_init();
2012-02-18 16:02:51 -05:00
do {
2012-02-16 19:42:41 -05:00
exit_status = profanity_start();
2012-02-18 16:02:51 -05:00
} while (exit_status == LOGIN_FAIL);
2012-02-09 17:24:03 -05:00
gui_close();
log_close();
return 0;
}