diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-17 01:09:41 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-17 01:09:41 +0800 |
commit | 5473c926d682ceb480dd339621f24d30ad9ed262 (patch) | |
tree | ffdc1057567908727ed3204263ef8ab60fc45ed3 /util | |
parent | 9379f70434f90a2fa69499966ae4e76f89cf72da (diff) | |
download | pttbbs-5473c926d682ceb480dd339621f24d30ad9ed262.tar pttbbs-5473c926d682ceb480dd339621f24d30ad9ed262.tar.gz pttbbs-5473c926d682ceb480dd339621f24d30ad9ed262.tar.bz2 pttbbs-5473c926d682ceb480dd339621f24d30ad9ed262.tar.lz pttbbs-5473c926d682ceb480dd339621f24d30ad9ed262.tar.xz pttbbs-5473c926d682ceb480dd339621f24d30ad9ed262.tar.zst pttbbs-5473c926d682ceb480dd339621f24d30ad9ed262.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@35 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/buildAnnounce.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/buildAnnounce.c b/util/buildAnnounce.c index 30c5e9fa..7de62615 100644 --- a/util/buildAnnounce.c +++ b/util/buildAnnounce.c @@ -61,8 +61,9 @@ void buildchilds(int level,char *path,int gid) } strcpy(item.owner,ptr->BM); strtok(item.owner,"/"); - sprintf(item.title,"%-13.13s %s", level?ptr->brdname:"", ptr->title+7); + sprintf(item.title,"%-13.13s %-32.32s", level?ptr->brdname:"", ptr->title+7); item.savemode = 'D'; + item.filemode = 0 ; sprintf(item.filename,ptr->brdname); sprintf(newpath,"%s/.DIR",path); append_record(newpath, &item, sizeof(item)); |