You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2012/05/16 23:52:51 UTC
svn commit: r1339385 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Author: gstein
Date: Wed May 16 21:52:50 2012
New Revision: 1339385
URL: http://svn.apache.org/viewvc?rev=1339385&view=rev
Log:
Make sure we don't forget about an error.
* subversion/libsvn_ra_serf/util.c:
(expat_response_handler): combine any potential INNER_ERROR into the
error we construct when we hit a parsing error
Modified:
subversion/trunk/subversion/libsvn_ra_serf/util.c
Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1339385&r1=1339384&r2=1339385&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed May 16 21:52:50 2012
@@ -2395,7 +2395,8 @@ expat_response_handler(serf_request_t *r
expat_status = XML_Parse(ectx->parser, data, (int)len, 0 /* isFinal */);
if (expat_status == XML_STATUS_ERROR)
- return svn_error_createf(SVN_ERR_XML_MALFORMED, NULL,
+ return svn_error_createf(SVN_ERR_XML_MALFORMED,
+ ectx->inner_error,
_("The %s response contains invalid XML"
" (%d %s)"),
ectx->handler->method,