You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ICS.UCI.EDU> on 1997/03/20 18:41:03 UTC

Re: [PATCH] add is_initial_req() function

In message <Pi...@twinlark.arctic.org>, De
an Gaudet writes:
>This is from Doug MacEachern's fix to mod_auth_kerb.  It only adds the
>function and doesn't actually make anything use it... it's just for module
>authors that want to take advantage of it.

The version I posted was a lot simpler, and easier on the eyes:

int is_initial_req(request_rec *r)
{
    return ((r->main == NULL) && (r->prev == NULL));
}

.....Roy