summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-28 04:46:14 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-28 04:46:14 +0800
commitecbb2c5cc04aef9c86905a822944686d2b796711 (patch)
treef45aab9fc9139463994b95ca1b3e748d86831cd2 /mbbsd/mail.c
parentfc5db538b79c11b7774e811ce765046a8bbd41bf (diff)
downloadpttbbs-ecbb2c5cc04aef9c86905a822944686d2b796711.tar
pttbbs-ecbb2c5cc04aef9c86905a822944686d2b796711.tar.gz
pttbbs-ecbb2c5cc04aef9c86905a822944686d2b796711.tar.bz2
pttbbs-ecbb2c5cc04aef9c86905a822944686d2b796711.tar.lz
pttbbs-ecbb2c5cc04aef9c86905a822944686d2b796711.tar.xz
pttbbs-ecbb2c5cc04aef9c86905a822944686d2b796711.tar.zst
pttbbs-ecbb2c5cc04aef9c86905a822944686d2b796711.zip
comment bad code.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3093 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index f5d44c48..13c092bb 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1092,7 +1092,7 @@ mail_reply(int ent, const fileheader_t * fhdr, const char *direct)
}
t = strtok(genbuf, str_space);
if (t && (!strcmp(t, str_author1) || !strcmp(t, str_author2)))
- strlcpy(uid, strtok(NULL, str_space), sizeof(uid));
+ strlcpy(uid, strtok(NULL, str_space), sizeof(uid)); // XXX if strtok return NULL
else {
vmsg("¿ù»~: §ä¤£¨ì§@ªÌ¡C");
return FULLUPDATE;