This is an automated email from the ASF dual-hosted git repository. jan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 42c89bad801f1a6230dd2867d776e8513372137f Author: Jan Lehnardt <[email protected]> AuthorDate: Fri Mar 9 17:46:52 2018 +0100 fix whitespace --- src/couch/src/couch_file.erl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/couch/src/couch_file.erl b/src/couch/src/couch_file.erl index 8a1b205..260a88c 100644 --- a/src/couch/src/couch_file.erl +++ b/src/couch/src/couch_file.erl @@ -214,11 +214,11 @@ truncate(Fd, Pos) -> sync(Filepath) when is_list(Filepath) -> case file:open(Filepath, [append, raw]) of - {ok, Fd} -> - try ok = file:sync(Fd) after ok = file:close(Fd) end; - Error -> - throw(Error) - end; + {ok, Fd} -> + try ok = file:sync(Fd) after ok = file:close(Fd) end; + Error -> + throw(Error) + end; sync(Fd) -> gen_server:call(Fd, sync, infinity). -- To stop receiving notification emails like this one, please contact [email protected].
