summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-30 20:38:26 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-30 20:38:26 +0800
commit1d460f66d21c234e1abba41e79089fdb2fc010d2 (patch)
tree45dcebd47563979621914a4a5e42a457f6f39093
parentb28cac1428e0845037689964d4448f4dd6d0d786 (diff)
downloadpttbbs-1d460f66d21c234e1abba41e79089fdb2fc010d2.tar
pttbbs-1d460f66d21c234e1abba41e79089fdb2fc010d2.tar.gz
pttbbs-1d460f66d21c234e1abba41e79089fdb2fc010d2.tar.bz2
pttbbs-1d460f66d21c234e1abba41e79089fdb2fc010d2.tar.lz
pttbbs-1d460f66d21c234e1abba41e79089fdb2fc010d2.tar.xz
pttbbs-1d460f66d21c234e1abba41e79089fdb2fc010d2.tar.zst
pttbbs-1d460f66d21c234e1abba41e79089fdb2fc010d2.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1494 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c
index e1388abe..b0513638 100644
--- a/mbbsd/record.c
+++ b/mbbsd/record.c
@@ -512,7 +512,7 @@ stampfile(char *fpath, fileheader_t * fh)
return -1;
} while ((fp = open(fpath, O_CREAT | O_EXCL | O_WRONLY, 0644)) == -1);
close(fp);
- memset(fh, 0, sizeof(fileheader_t));
+ //memset(fh, 0, sizeof(fileheader_t));
strlcpy(fh->filename, ip, sizeof(fh->filename));
ptime = localtime(&dtime);
snprintf(fh->date, sizeof(fh->date),