You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2010/07/10 18:33:38 UTC
svn commit: r962878 -
/couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl
Author: fdmanana
Date: Sat Jul 10 16:33:38 2010
New Revision: 962878
URL: http://svn.apache.org/viewvc?rev=962878&view=rev
Log:
Fix misspelled atom.
Modified:
couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl
Modified: couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl?rev=962878&r1=962877&r2=962878&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_api_wrap.erl Sat Jul 10 16:33:38 2010
@@ -383,7 +383,7 @@ receive_docs(Streamer, UserFun, UserAcc)
{"application/json", [{"error","true"}]} ->
{ErrorProps} = ?JSON_DECODE(receive_all(Streamer, [])),
Rev = couch_util:get_value(<<"missing">>, ErrorProps),
- Result = {{not_founds, missing}, couch_doc:parse_rev(Rev)},
+ Result = {{not_found, missing}, couch_doc:parse_rev(Rev)},
UserAcc2 = UserFun(Result, UserAcc),
receive_docs(Streamer, UserFun, UserAcc2)
end;