Re: [PATCH] optionally allow username to be passed with svnserve ANONYMOUS auth
From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-09-14 23:21:07 CEST
On Sun, 2003-09-14 at 15:03, Garrett Rooney wrote:
I have one correctness comment and some style nits:
> + if (!user)
ra_svn code prefers to group all variable declarations at the beginning
> SVN_ERR(svn_ra_svn_write_tuple(conn, pool, "nw(c)()", (apr_uint64_t) 1,
If user is NULL, this will dump core. Send "" if user is NULL (since
> + if (believe_username && mecharg && mecharg[0])
ra_svn code prefers not to put braces around single-statement if
(Now that I'm thinking about this, I think if mecharg is NULL, we should
---------------------------------------------------------------------
|
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.