mjc 96/03/26 01:06:26
Modified: src http_protocol.c
Log:
Fixed problem causing http_protocol.c to fail compilation with SGI compiler
(IRIX 5.3) when returning from a void function using a void function.
Revision Changes Path
1.10 +6 -5 apache/src/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_protocol.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C3 -r1.9 -r1.10
*** http_protocol.c 1996/03/26 06:53:54 1.9
--- http_protocol.c 1996/03/26 09:06:24 1.10
***************
*** 441,457 ****
void note_auth_failure(request_rec *r)
{
if (!strcasecmp(auth_type(r), "Basic"))
! return note_basic_auth_failure(r);
else if(!strcasecmp(auth_type(r), "Digest"))
! return note_digest_auth_failure(r);
}
void note_basic_auth_failure(request_rec *r)
{
if (strcasecmp(auth_type(r), "Basic"))
! return note_auth_failure(r);
! table_set (r->err_headers_out, "WWW-Authenticate",
! pstrcat(r->pool, "Basic realm=\"", auth_name(r), "\"", NULL));
}
void note_digest_auth_failure(request_rec *r)
--- 441,458 ----
void note_auth_failure(request_rec *r)
{
if (!strcasecmp(auth_type(r), "Basic"))
! note_basic_auth_failure(r);
else if(!strcasecmp(auth_type(r), "Digest"))
! note_digest_auth_failure(r);
}
void note_basic_auth_failure(request_rec *r)
{
if (strcasecmp(auth_type(r), "Basic"))
! note_auth_failure(r);
! else
! table_set (r->err_headers_out, "WWW-Authenticate",
! pstrcat(r->pool, "Basic realm=\"", auth_name(r), "\"", NULL));
}
void note_digest_auth_failure(request_rec *r)