httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: 0.8.15 mod_imap problem
Date Thu, 02 Nov 1995 22:55:06 GMT
> 
> 
> +1.  Though eventually I'd like to see it return a menu of available 
> options.

A most excellent notion.

> 
> 	Brian
> 
> On Thu, 2 Nov 1995, Mark J Cox wrote:
> > From: Mark Cox <mark@awe.com>
> > Subject: Mod_Imap causes server error if no arguments
> > Requires:
> > Affects: mod_imap.c
> > Changelog:
> > Internal imagemap module no longer fails when called by clients that don't
> > support image maps.  It uses the "default" URL for these clients.
> > 
> > *** mod_imap.c.orig     Wed Oct 11 23:17:49 1995
> > --- mod_imap.c  Thu Nov  2 08:52:01 1995
> > ***************
> > *** 272,287 ****
> >       double dist, mindist;
> >       int sawpoint = 0;
> >   
> > ! 
> > !     if (r->args == NULL)
> > !       return SERVER_ERROR;
> > ! 
> > !     if (!(ycoord = strchr (r->args, ',')))
> > !       return BAD_REQUEST;
> > ! 
> > !     *ycoord++ = '\0';
> > !     testpoint[X] = (double) atoi (r->args);
> > !     testpoint[Y] = (double) atoi (ycoord);
> >       
> >       if (!(imap = fopen (r->filename,"r")))
> >           return SERVER_ERROR;
> > --- 272,287 ----
> >       double dist, mindist;
> >       int sawpoint = 0;
> >   
> > !     if (r->args == NULL) { /* Client doesn't support Imagemaps, */
> > !       testpoint[X] = -1;   /* so fake some co-ordinates so that */
> > !       testpoint[Y] = -1;   /* the default is picked.  MJC 02Nov95 */
> > !     } else {
> > !         if (!(ycoord = strchr (r->args, ',')))
> > !           return BAD_REQUEST;
> > !         *ycoord++ = '\0';
> > !         testpoint[X] = (double) atoi (r->args);
> > !         testpoint[Y] = (double) atoi (ycoord);
> > !     }
> >       
> >       if (!(imap = fopen (r->filename,"r")))
> >           return SERVER_ERROR;
> > 
> > 
> > 
> 
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant        Fax:   +44 (181) 994 6472
and Technical Director      Email: ben@algroup.co.uk
A.L. Digital Ltd,
London, England.

Mime
View raw message