[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r19108 - trunk/subversion/libsvn_ra_serf

From: Greg Stein <gstein_at_lyra.org>
Date: 2006-03-31 03:27:44 CEST

On Thu, Mar 30, 2006 at 05:08:59PM -0800, jerenkrantz@tigris.org wrote:
>...
> +++ trunk/subversion/libsvn_ra_serf/update.c Thu Mar 30 17:08:59 2006
> @@ -1983,7 +1983,11 @@
> }
> if (status)
> {
> - return svn_error_wrap_apr(status, _("Error retrieving REPORT"));
> + if (sess->pending_error)
> + return sess->pending_error;

This could be written more simply as:

             SVN_ERR(sess->pending_error);

Whether that is *clearer* ... dunno :-P

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 31 03:21:25 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.