Commit b2d27d57 authored by deuce's avatar deuce
Browse files

Open the config file unbuffered to help with concurrency.

parent aecde406
......@@ -848,7 +848,7 @@ var unauthenticated_command_handlers = {
return;
}
cfgfile=new File(format(system.data_dir+"user/%04d.imap", user.number));
if (!cfgfile.open(cfgfile.exists ? 'r+':'w+', true)) {
if (!cfgfile.open(cfgfile.exists ? 'r+':'w+', true, 0)) {
tagged(tag, "NO", "Can't open imap state file");
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment