diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-19 21:03:09 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-19 21:03:09 +0800 |
commit | 33572d8938bb9c494ae1df5675fec339c51e2501 (patch) | |
tree | 670c65650fb361cdfa7dc5be63c28a98b23b1858 /mbbsd/mail.c | |
parent | d4ca75df642237f81a2958fb395df41083e5c173 (diff) | |
download | pttbbs-33572d8938bb9c494ae1df5675fec339c51e2501.tar pttbbs-33572d8938bb9c494ae1df5675fec339c51e2501.tar.gz pttbbs-33572d8938bb9c494ae1df5675fec339c51e2501.tar.bz2 pttbbs-33572d8938bb9c494ae1df5675fec339c51e2501.tar.lz pttbbs-33572d8938bb9c494ae1df5675fec339c51e2501.tar.xz pttbbs-33572d8938bb9c494ae1df5675fec339c51e2501.tar.zst pttbbs-33572d8938bb9c494ae1df5675fec339c51e2501.zip |
fix bug: always clear quote_file after use. (esp. cancel)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2654 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r-- | mbbsd/mail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 8e0c5d1c..e028908f 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -536,6 +536,8 @@ multi_reply(int ent, fileheader_t * fhdr, const char *direct) strlcpy(quote_user, fhdr->owner, sizeof(quote_user)); setuserfile(quote_file, fhdr->filename); multi_send(fhdr->title); + quote_user[0]='\0'; + quote_file[0]='\0'; return 0; } |