subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1658168 - /subversion/trunk/subversion/mod_dav_svn/util.c
Date Sun, 08 Feb 2015 13:41:02 GMT
Author: ivan
Date: Sun Feb  8 13:41:01 2015
New Revision: 1658168

URL: http://svn.apache.org/r1658168
Log:
mod_dav_svn: Do not ignore errors when parsing skels.

* subversion/mod_dav_svn/util.c
  (dav_svn__parse_request_skel): Return STATUS instead of OK when we got
   error status from request_body_to_string().

Modified:
    subversion/trunk/subversion/mod_dav_svn/util.c

Modified: subversion/trunk/subversion/mod_dav_svn/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/util.c?rev=1658168&r1=1658167&r2=1658168&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/util.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/util.c Sun Feb  8 13:41:01 2015
@@ -857,7 +857,7 @@ dav_svn__parse_request_skel(svn_skel_t *
   *skel = NULL;
   status = request_body_to_string(&skel_str, r, pool);
   if (status != OK)
-    return OK;
+    return status;
 
   *skel = svn_skel__parse(skel_str->data, skel_str->len, pool);
   return OK;



Mime
View raw message