diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-09 18:05:46 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-09 18:05:46 +0800 |
commit | d4655322c745b6a78706369c5b1926962d0c61c2 (patch) | |
tree | 698ebb898c43ade6bed1739f7eb2c57753fbb813 /mbbsd/user.c | |
parent | 2ce96d4a0ce438e1b76fcd7481f91fd7841b84f3 (diff) | |
download | pttbbs-d4655322c745b6a78706369c5b1926962d0c61c2.tar pttbbs-d4655322c745b6a78706369c5b1926962d0c61c2.tar.gz pttbbs-d4655322c745b6a78706369c5b1926962d0c61c2.tar.bz2 pttbbs-d4655322c745b6a78706369c5b1926962d0c61c2.tar.lz pttbbs-d4655322c745b6a78706369c5b1926962d0c61c2.tar.xz pttbbs-d4655322c745b6a78706369c5b1926962d0c61c2.tar.zst pttbbs-d4655322c745b6a78706369c5b1926962d0c61c2.zip |
add modifier "const" to some constant
remove a static char array of 60 bytes from mail.c:doforward
avoid DDOS in mail.c:send_inner_mail
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2321 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-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 0428e22d..9921d00d 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -751,7 +751,7 @@ showplans(char *uid) #ifdef CHESSCOUNTRY if (user_query_mode) { - char *photo_name[2] = { "photo_fivechess", "photo_cchess" }; + const char const *photo_name[2] = { "photo_fivechess", "photo_cchess" }; int i = 0; FILE *fp; |