From 5473c926d682ceb480dd339621f24d30ad9ed262 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 16 Mar 2002 17:09:41 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@35 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/buildAnnounce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util') 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)); -- cgit v1.2.3