On Mon, 8 Jan 2001, Robert Collins wrote:
> Is there any way to get indent to be a bit 'nicer' with things like
> this:
>
> I'm referring to the
> comment */
> if ()
> that indent changed to
> comment */ if ()
> Rob
>
> ===================================================================
> RCS file: /cvsroot/squid/squid/src/auth/ntlm/auth_ntlm.c,v
> retrieving revision 1.1.2.20
> retrieving revision 1.1.2.21
> diff -c -r1.1.2.20 -r1.1.2.21
> *** squid/src/auth/ntlm/auth_ntlm.c 2001/01/07 20:43:02 1.1.2.20
> --- squid/src/auth/ntlm/auth_ntlm.c 2001/01/08 00:14:57 1.1.2.21
> ***************
> *** 998,1005 ****
> //user passed externa; authentication in every case to get
> here. f.
> Let it through
> } /* we don't unlock the auth_user until
> the connection is dropped. Thank
> ! * MS for this quirk. */
> ! if (authenticateCheckAuthUserIP(checklist->src_addr, auth_user))
> {
> /* Once the match is completed we have finished with the
> * auth_user structure */
> /* check to see if we have matched the user-acl before */
> --- 998,1004 ----
> //user passed externa; authentication in every case to get
> here. f.
> Let it through
> } /* we don't unlock the auth_user until
> the connection is dropped. Thank
> ! * MS for this quirk. */ if
> (authenticateCheckAuthUserIP(checklist->src_addr, auth_user)) {
> /* Once the match is completed we have finished with the
> * auth_user structure */
> /* check to see if we have matched the user-acl before */
>
It could be a bug with your version of indent.
I don't like // comments mixed in there. Not sure if thats a problem or not.
Also, I like to write multi-line comments like this:
/*
* foo blah foo
* blah foo blah
*/
Received on Mon Jan 08 2001 - 14:08:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:13 MST