about summary refs log tree commit diff stats
path: root/main.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-02-20 01:42:29 +0000
committerJames Booth <boothj5@gmail.com>2012-02-20 01:42:29 +0000
commit7dfea94c88a876c51b86b46578c4cf409605a6c3 (patch)
tree6d89f0cc73533e1af28dd08bfa0fa7b4ce3766ec /main.c
parentb3f42cd300e703e4d411ed03cef138462ff34fbf (diff)
downloadprofani-tty-7dfea94c88a876c51b86b46578c4cf409605a6c3.tar.gz
Merged input processing loops
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/main.c b/main.c
index 50a9f1a5..103b4190 100644
--- a/main.c
+++ b/main.c
@@ -4,15 +4,11 @@
 
 int main(void)
 {   
-    int exit_status;
-    
     log_init();
     gui_init();
 
-    do { 
-        exit_status = profanity_start();
-    } while (exit_status == LOGIN_FAIL);
-    
+    profanity_main();
+        
     gui_close();
     log_close();