diff options
Diffstat (limited to 'microbbs.c')
-rw-r--r-- | microbbs.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,6 +25,14 @@ int main( int argc, char **argv ) int main_menu_input=0; char main_menu_cmd; +#ifdef NDEBUG + printf("Assertions on\n"); +#endif + + //initialise default config options + config_default(); + config_from_argv( argc, argv ); + term_screen ts; memset( (void *)&ts, 0, sizeof(ts) ); term_init( &ts ); term_set_raw_mode( &ts ); @@ -38,7 +46,7 @@ int main( int argc, char **argv ) //lunch captcha and try to detect if its random bot #ifdef CONFIG_CAPTCHA - if ( captcha_test1( ts ) != 1) + if ( captcha_test1( &ts ) != 1) { goto exit_restore_terminal; } |