summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-11 00:01:48 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-11 00:01:48 +0800
commit5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9 (patch)
tree44bf7cbcffb18e74943a996a3de20bbd2b1080fd
parente0e6bb9fe7fc44d21b06ff2b47445cc8d9facc74 (diff)
downloadpttbbs-5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9.tar
pttbbs-5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9.tar.gz
pttbbs-5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9.tar.bz2
pttbbs-5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9.tar.lz
pttbbs-5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9.tar.xz
pttbbs-5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9.tar.zst
pttbbs-5ba8fcb22a50372eef8aa2f0d86d81bd516cf0d9.zip
- register/captcha: remove some ambigious options/alphabets
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/register.c6
1 files changed, 4 insertions, 2 deletions
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[] = {