summaryrefslogtreecommitdiffstats
path: root/captcha.c
diff options
context:
space:
mode:
Diffstat (limited to 'captcha.c')
-rw-r--r--captcha.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/captcha.c b/captcha.c
index ea38d85..93cadde 100644
--- a/captcha.c
+++ b/captcha.c
@@ -9,6 +9,8 @@
int captcha_test1( term_screen *ts)
{
int ret = 0;
+ const int s_size = 2;
+ char s[s_size];
int column=0, row=0;
int c=0;
@@ -20,7 +22,7 @@ int captcha_test1( term_screen *ts)
term_cur_set_r( ts, row/2 );
//just ask question
- printf("Are you bot?(y/n):\n");
+ term_printf( ts, "Are you bot?(y/n):\n");
c = term_getc( ts );
if ( (c == 'n') || ( c == 'N') )
ret = 1;