From 581d8f19dc4a8dd4321cfa2cf940c3ecaf52f3c8 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 10 May 2008 05:21:01 +0000 Subject: - (exp captcha) random seed should be initialized earlier for captcha. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4286 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/register.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd/register.c') diff --git a/mbbsd/register.c b/mbbsd/register.c index b3ba087f..6117b47e 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -374,7 +374,7 @@ delregcodefile(void) //////////////////////////////////////////////////////////////////////////// // Figlet Captcha System //////////////////////////////////////////////////////////////////////////// -#ifdef USE_FIGLET_CAPCTHA +#ifdef USE_FIGLET_CAPTCHA int gen_captcha(char *buf, int szbuf, char *fpath) @@ -509,7 +509,7 @@ int verify_captcha() clear(); return 1; } -#else // NO CAPTCHA +#else // !USE_FIGLET_CAPTCHA int verify_captcha() @@ -517,7 +517,7 @@ verify_captcha() return 1; } -#endif +#endif // !USE_FIGLET_CAPTCHA //////////////////////////////////////////////////////////////////////////// // Justify Utilities -- cgit v1.2.3