Received: by taz.hyperreal.com (8.6.12/8.6.5) id TAA11156; Sun, 4 Feb 1996 19:29:43 -0800 Received: from gw0.telebase.com by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id TAA11141; Sun, 4 Feb 1996 19:29:40 -0800 Received: from wormhole.telebase.com by gw0.telebase.com id WAA09624 for ; Sun, 4 Feb 1996 22:29:34 -0500 (EST) Received: from spudboy.telebase.com (chuck@spudboy.telebase.com [172.16.2.215]) by wormhole.telebase.com (8.7.1/8.6.9.1) with ESMTP id WAA02200 for ; Sun, 4 Feb 1996 22:29:33 -0500 (EST) Received: (from chuck@localhost) by spudboy.telebase.com (8.6.12/8.6.9.1) id WAA10311 for new-httpd@hyperreal.com; Sun, 4 Feb 1996 22:29:32 -0500 From: Chuck Murcko Message-Id: <199602050329.WAA10311@telebase.com.> Subject: minor nit in 72.mod_imap_overhaul.patch To: new-httpd@hyperreal.com Date: Sun, 4 Feb 1996 22:29:32 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com 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