summaryrefslogtreecommitdiff
path: root/captcha.c
blob: ad614be34e7563130786121df9dfca73c409d7d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "captcha.h"

#ifdef CONFIG_CAPTCHA

int captcha_test1()
{
	int ret = 0;
	char s[2];
	printf("Are you bot?(y/n):\n");
	fgets(s,2,stdin);
	if ( s[0] == 'n' || s[0] == 'N')
		ret = 1;
	return ret;
}

#endif