diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-04-15 11:34:18 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-04-15 11:34:18 +0800 |
commit | ef906f0b1616600dcc071cb6da83a6676b07b460 (patch) | |
tree | ac4ec857de248cb971ae51e7cb59315778e0d7ae | |
parent | a4186319d48edc1b1dd8a86a1fd08702a82d72d7 (diff) | |
download | pttbbs-ef906f0b1616600dcc071cb6da83a6676b07b460.tar pttbbs-ef906f0b1616600dcc071cb6da83a6676b07b460.tar.gz pttbbs-ef906f0b1616600dcc071cb6da83a6676b07b460.tar.bz2 pttbbs-ef906f0b1616600dcc071cb6da83a6676b07b460.tar.lz pttbbs-ef906f0b1616600dcc071cb6da83a6676b07b460.tar.xz pttbbs-ef906f0b1616600dcc071cb6da83a6676b07b460.tar.zst pttbbs-ef906f0b1616600dcc071cb6da83a6676b07b460.zip |
const instead of static
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3347 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index e043e2da..f3e85c55 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -488,7 +488,7 @@ makeregcode(char *buf) { char fpath[PATHLEN]; int fd, i; - static char *alphabet = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"; + const char *alphabet = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"; /* generate a new regcode */ buf[13] = 0; |