Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reverted previous whitespace only changes, in order to modify the dif…

…f against trunk.
  • Loading branch information...
commit 3f87e102ad94c3e97bc15840bcc5f27638e170fa 1 parent e4bdf2c
Filipe Manana authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/couchdb/couch_file.erl
6 src/couchdb/couch_file.erl
View
@@ -244,14 +244,14 @@ init({Filepath, Options, ReturnPid, Ref}) ->
ok = file:truncate(Fd),
ok = file:sync(Fd),
maybe_track_open_os_files(Options),
- {ok, #file{fd = Fd}};
+ {ok, #file{fd=Fd}};
false ->
ok = file:close(Fd),
init_status_error(ReturnPid, Ref, file_exists)
end;
false ->
maybe_track_open_os_files(Options),
- {ok, #file{fd = Fd}}
+ {ok, #file{fd=Fd}}
end;
Error ->
init_status_error(ReturnPid, Ref, Error)
@@ -263,7 +263,7 @@ init({Filepath, Options, ReturnPid, Ref}) ->
{ok, Fd} = file:open(Filepath, OpenOptions),
ok = file:close(Fd_Read),
maybe_track_open_os_files(Options),
- {ok, #file{fd = Fd}};
+ {ok, #file{fd=Fd}};
Error ->
init_status_error(ReturnPid, Ref, Error)
end
Please sign in to comment.
Something went wrong with that request. Please try again.