Skip to content

Commit

Permalink
WHISTLE_169: update couchbeam's usage of wh_util
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Aug 15, 2011
1 parent 77417d6 commit 1b0163d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified lib/couchbeam-0.5.4/ebin/couchbeam.beam
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/couchbeam-0.5.4/src/couchbeam.erl
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ lookup_doc_rev(#db{server=Server, options=IbrowseOpts}=Db, DocId, Params) ->
Url = make_url(Server, doc_url(Db, DocId1), Params),
case db_request(head, Url, ["200"], IbrowseOpts) of
{ok, _, Headers, _} ->
{ok, binary:replace(whistle_util:to_binary(couchbeam_util:get_value("Etag", Headers)), <<"\"">>, <<>>, [global])};
{ok, binary:replace(wh_util:to_binary(couchbeam_util:get_value("Etag", Headers)), <<"\"">>, <<>>, [global])};
Error ->
Error
end.
Expand Down

0 comments on commit 1b0163d

Please sign in to comment.