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 2013/12/29 00:03:30 UTC

svn commit: r1553959 - /subversion/trunk/subversion/libsvn_ra_serf/update.c

Author: rhuijben
Date: Sat Dec 28 23:03:30 2013
New Revision: 1553959

URL: http://svn.apache.org/r1553959
Log:
* subversion/libsvn_ra_serf/update.c
  (finish_report): Only handle a possible unexpected result when the server
    error handler had a chance of finishing reading the report.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/update.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/update.c?rev=1553959&r1=1553958&r2=1553959&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Sat Dec 28 23:03:30 2013
@@ -2927,7 +2927,7 @@ finish_report(void *report_baton,
         }
       SVN_ERR(err);
 
-      if (handler->sline.code && handler->sline.code != 200)
+      if (handler->done && handler->sline.code && handler->sline.code != 200)
         return svn_error_trace(svn_ra_serf__unexpected_status(handler));
 
       /* Open extra connections if we have enough requests to send. */