diff options
Diffstat (limited to 'subversion/libsvn_ra_serf/log.c')
| -rw-r--r-- | subversion/libsvn_ra_serf/log.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/subversion/libsvn_ra_serf/log.c b/subversion/libsvn_ra_serf/log.c index 773ae5c9c162..fb9494aee10d 100644 --- a/subversion/libsvn_ra_serf/log.c +++ b/subversion/libsvn_ra_serf/log.c @@ -272,7 +272,7 @@ log_closed(svn_ra_serf__xml_estate_t *xes,        svn_log_entry_t *log_entry;        const char *rev_str; -      if (log_ctx->limit && (log_ctx->nest_level == 0) +      if ((log_ctx->limit > 0) && (log_ctx->nest_level == 0)            && (++log_ctx->count > log_ctx->limit))          {            return SVN_NO_ERROR; @@ -598,8 +598,8 @@ svn_ra_serf__get_log(svn_ra_session_t *ra_session,    SVN_ERR(svn_ra_serf__context_run_one(handler, pool)); -  return svn_error_trace( -              svn_ra_serf__error_on_status(handler->sline, -                                           req_url, -                                           handler->location)); +  if (handler->sline.code != 200) +    SVN_ERR(svn_ra_serf__unexpected_status(handler)); + +  return SVN_NO_ERROR;  } | 
