diff options
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)); |