diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 19:18:11 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-25 19:18:11 +0800 |
commit | c8666f401d70d625c86180640b7fc6e44b0c4ba4 (patch) | |
tree | c0e876358ea07e377bb0fd558fc1609b997408f8 /innbbsd/receive_article.c | |
parent | 3bf522b143e8bd77046531e4636e3a0b4c510188 (diff) | |
download | pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.gz pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.bz2 pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.lz pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.xz pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.tar.zst pttbbs-c8666f401d70d625c86180640b7fc6e44b0c4ba4.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@220 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/receive_article.c')
-rw-r--r-- | innbbsd/receive_article.c | 3 |
1 files changed, 1 insertions, 2 deletions
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"); |