From 5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 10 May 2008 16:01:48 +0000 Subject: - register/captcha: remove some ambigious options/alphabets git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/register.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/register.c b/mbbsd/register.c index 3a6a138f..957e4a2c 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -379,12 +379,14 @@ delregcodefile(void) int gen_captcha(char *buf, int szbuf, char *fpath) { - const char *alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + // do not use: GQV + const char *alphabet = "ABCDEFHIJKLMNOPRSTUWXYZ"; int calphas = strlen(alphabet); char cmd[PATHLEN], opts[PATHLEN]; int i, coptSpace, coptFont; static const char *optSpace[] = { - "-S", "-s", "-k", "-W", "-o", + "-S", "-s", "-k", "-W", + // "-o", NULL }; static const char *optFont[] = { -- cgit v1.2.3