On Thu, 11 Nov 2004 sussman@tigris.org wrote:
> Author: sussman
> Date: Thu Nov 11 11:19:03 2004
> New Revision: 11836
>
> Url: http://svn.collab.net/viewcvs/svn/branches/locking/subversion/libsvn_fs_base/util/fs_skels.c?view=diff&rev=11836&p1=branches/locking/subversion/libsvn_fs_base/util/fs_skels.c&r1=11835&p2=branches/locking/subversion/libsvn_fs_base/util/fs_skels.c&r2=11836
> ==============================================================================
> --- branches/locking/subversion/libsvn_fs_base/util/fs_skels.c (original)
> +++ branches/locking/subversion/libsvn_fs_base/util/fs_skels.c Thu Nov 11 11:19:03 2004
> @@ -770,6 +788,57 @@
> }
>
>
> +svn_error_t *
> +svn_fs_base__parse_lock_skel (svn_lock_t **lock_p,
> + skel_t *skel,
> + apr_pool_t *pool)
> +{
> + svn_lock_t *lock;
> + const char *timestr;
> +
> + /* Validate the skel. */
> + if (! is_valid_lock_skel (skel))
> + return skel_err ("lock");
> +
> + /* Create the returned structure */
> + lock = apr_pcalloc (pool, sizeof (*lock));
> +
> + /* PATH */
> + lock->path = apr_pstrmemdup (pool, skel->children->next->data,
> + skel->children->next->len);
> +
> + /* LOCK-TOKEN */
> + lock->token = apr_pstrmemdup (pool,
> + skel->children->next->next->data,
> + skel->children->next->next->len);
> +
> + /* OWNER */
> + lock->path = apr_pstrmemdup (pool,
> + skel->children->next->next->next->data,
> + skel->children->next->next->next->len);
> +
You're assigning owner to path.
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 11 21:48:57 2004