Skip to content

Commit

Permalink
Reverted previous whitespace only changes, in order to modify the dif…
Browse files Browse the repository at this point in the history
…f against trunk.
  • Loading branch information
fdmanana committed Dec 4, 2010
1 parent e4bdf2c commit 3f87e10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/couchdb/couch_file.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 3f87e10

Please sign in to comment.