From 1d460f66d21c234e1abba41e79089fdb2fc010d2 Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 30 Jan 2004 12:38:26 +0000 Subject: git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1494 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.2.3