You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2015/01/28 21:44:37 UTC

svn commit: r1655463 - /subversion/trunk/subversion/libsvn_ra_serf/util.c

Author: rhuijben
Date: Wed Jan 28 20:44:36 2015
New Revision: 1655463

URL: http://svn.apache.org/r1655463
Log:
* subversion/libsvn_ra_serf/util.c
  (response_done): Remove some (legacy) now unneeded checks that are
    handled in the function responsible for calling this function.

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=1655463&r1=1655462&r2=1655463&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed Jan 28 20:44:36 2015
@@ -1853,9 +1853,7 @@ response_done(serf_request_t *request,
   if (handler->server_error)
     return svn_ra_serf__server_error_create(handler, scratch_pool);
 
-  if ((handler->sline.code >= 400 || handler->sline.code <= 199)
-      && !handler->session->pending_error
-      && !handler->no_fail_on_http_failure_status)
+  if (handler->sline.code >= 400 || handler->sline.code <= 199)
     {
       return svn_error_trace(svn_ra_serf__unexpected_status(handler));
     }