You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2018/03/26 20:55:34 UTC
[couchdb] 03/33: WIP - chttpd_db.erl
This is an automated email from the ASF dual-hosted git repository.
davisp pushed a commit to branch COUCHDB-3326-clustered-purge-davisp-refactor
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit bf22bb1ca5ade221bdf97bdee502fea7ab9966a1
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Mon Mar 26 09:51:46 2018 -0500
WIP - chttpd_db.erl
---
src/chttpd/src/chttpd_db.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chttpd/src/chttpd_db.erl b/src/chttpd/src/chttpd_db.erl
index 7be5513..e2e920f 100644
--- a/src/chttpd/src/chttpd_db.erl
+++ b/src/chttpd/src/chttpd_db.erl
@@ -968,7 +968,7 @@ update_doc_result_to_json(DocId, Error) ->
purge_results_to_json([], []) ->
{201, []};
purge_results_to_json([{DocId, _Revs} | RIn], [{ok, PRevs} | ROut]) ->
- {Code, Results} = purge_results_to_json(RestIn, RestOut),
+ {Code, Results} = purge_results_to_json(RIn, ROut),
{Code, [{DocId, couch_doc:revs_to_strs(PRevs)} | Results]};
purge_results_to_json([{DocId, _Revs} | RIn], [{accepted, PRevs} | ROut]) ->
{Code, Results} = purge_results_to_json(RIn, ROut),
--
To stop receiving notification emails like this one, please contact
davisp@apache.org.