Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
b2d27d57
Commit
b2d27d57
authored
Mar 16, 2018
by
deuce
Browse files
Open the config file unbuffered to help with concurrency.
parent
aecde406
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
exec/imapservice.js
exec/imapservice.js
+1
-1
No files found.
exec/imapservice.js
View file @
b2d27d57
...
@@ -848,7 +848,7 @@ var unauthenticated_command_handlers = {
...
@@ -848,7 +848,7 @@ var unauthenticated_command_handlers = {
return
;
return
;
}
}
cfgfile
=
new
File
(
format
(
system
.
data_dir
+
"
user/%04d.imap
"
,
user
.
number
));
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
"
);
tagged
(
tag
,
"
NO
"
,
"
Can't open imap state file
"
);
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment