Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
a3e48c43
Commit
a3e48c43
authored
Jun 11, 1991
by
Per Cederqvist
Browse files
Don't check ferror(NULL) when the new file has been
succesfully saved and closed.
parent
66240d16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/simple-cache.c
View file @
a3e48c43
...
...
@@ -1546,7 +1546,7 @@ sync_part(void)
restart_kom
(
"sync(): sync_state==%d"
,
sync_state
);
}
if
(
ferror
(
file_b
)
!=
0
)
if
(
file_b
!=
NULL
&&
ferror
(
file_b
)
!=
0
)
sync_state
=
sync_error
;
return
FALSE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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