httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@telebase.com>
Subject minor nit in 72.mod_imap_overhaul.patch
Date Mon, 05 Feb 1996 03:29:32 GMT
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

Mime
View raw message