You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chuck Murcko <ch...@telebase.com> on 1996/02/05 04:29:32 UTC
minor nit in 72.mod_imap_overhaul.patch
For strict compilers like cc 3.2 under IRIX, or gcc -Wall,
from mod_imap.c changes:
! ...
! void set_redirect (request_rec *r, char *base_uri, char *mapurl) {
! char redirect[MAXLINE];
! char rooturl[80];
! char *basedir;
! char *u,*b,*p,*q;
! int k;
! if ((p = index(mapurl, '/')) != NULL) {
^^^^^
This needs to be cast as (char *).
! if (*--p == ':') {
! /* if they give us an absolute URL, use it! */
! table_set(r->headers_out, "Location", mapurl);
! return;
! }
! }
! ...
chuck
Chuck Murcko Telebase Systems, Inc. Wayne PA chuck@telebase.com
And now, on a lighter note:
"A raccoon tangled with a 23,000 volt line today. The results blacked
out 1400 homes and, of course, one raccoon."
-- Steel City News