quote mailbox names written to config file
This commit is contained in:
parent
18936f6696
commit
bbf98bb165
|
@ -456,10 +456,10 @@ write_config( int fd )
|
|||
box->channel_name = cn;
|
||||
gotchan:
|
||||
if (box->path[0] == '/')
|
||||
fprintf( fp, "Channel %s\nMaster :%s:%s\nSlave :local_root:%s\n",
|
||||
fprintf( fp, "Channel %s\nMaster :%s:\"%s\"\nSlave :local_root:\"%s\"\n",
|
||||
box->channel_name, box->store_name, box->box, box->path + 1 );
|
||||
else
|
||||
fprintf( fp, "Channel %s\nMaster :%s:%s\nSlave :local:%s\n",
|
||||
fprintf( fp, "Channel %s\nMaster :%s:\"%s\"\nSlave :local:\"%s\"\n",
|
||||
box->channel_name, box->store_name, box->box, box->path );
|
||||
write_channel_parm( fp, box );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user