From c8666f401d70d625c86180640b7fc6e44b0c4ba4 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 25 May 2002 11:18:11 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- innbbsd/receive_article.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'innbbsd/receive_article.c') diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c index d036fe41..0c2827da 100644 --- a/innbbsd/receive_article.c +++ b/innbbsd/receive_article.c @@ -862,7 +862,7 @@ char *pathname, *firstpath; strcpy(&userid[IDLEN], "."); strcpy(header.owner, userid); strncpy(header.title, subject, TTLEN); - header.savemode = 'M'; + header.filemode |= FILE_MULTI; { struct tm *ptime; ptime = localtime(&datevalue); @@ -907,7 +907,6 @@ cancelpost(fileheader_t *fhdr, char* boardname) stampfile(fn2, &postfile); memcpy(postfile.owner, fhdr->owner, IDLEN + TTLEN + 10); - postfile.savemode = 'D'; close(fd); Rename(fpath, fn2); strcpy(strrchr(fn2, '/') + 1, ".DIR"); -- cgit v1.2.3