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

Re: svn commit: r954797 - /subversion/trunk/subversion/libsvn_ra_serf/update.c

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Tue, 15 Jun 2010 14:38:23 +0100

On Tue, 2010-06-15, ivan_at_apache.org wrote:
> Author: ivan
> Date: Tue Jun 15 10:37:09 2010
> New Revision: 954797
>
> URL: http://svn.apache.org/viewvc?rev=954797&view=rev
> Log:
> Write update request body to file, to able resend it if needed.
>
> * subversion/libsvn_ra_serf/update.c
[...]
> (create_update_report_body): New function to create update request
> body bucket based on file.

Hi Ivan. Please consider writing a doc string for this new function.

Thanks.
- Julian

[...]
> +static serf_bucket_t *
> +create_update_report_body(void *baton,
> + serf_bucket_alloc_t *alloc,
> + apr_pool_t *pool)
> +{
> + report_context_t *report = baton;
> + apr_off_t offset;
> +
> + offset = 0;
> + apr_file_seek(report->body_file, APR_SET, &offset);
> +
> + return serf_bucket_file_create(report->body_file, alloc);
> +}
[...]
Received on 2010-06-15 15:46:14 CEST

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.