httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/http mod_mime.c
Date Wed, 01 Jan 2003 04:25:03 GMT
nd          2002/12/31 20:25:02

  Modified:    modules/http mod_mime.c
  Log:
  provide better error messages for the multiviewsmatch directive.
  
  Revision  Changes    Path
  1.90      +2 -2      httpd-2.0/modules/http/mod_mime.c
  
  Index: mod_mime.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/mod_mime.c,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- mod_mime.c	15 Dec 2002 16:37:19 -0000	1.89
  +++ mod_mime.c	1 Jan 2003 04:25:02 -0000	1.90
  @@ -365,7 +365,7 @@
       }
       else if (strcasecmp(include, "NegotiatedOnly") == 0) {
           if (m->multimatch && (m->multimatch & ~MULTIMATCH_NEGOTIATED))
{
  -            return "Any is incompatible with NegotiatedOnly, "
  +            return "NegotiatedOnly is incompatible with Any, "
                      "Filters and Handlers";
           }
           m->multimatch |= MULTIMATCH_NEGOTIATED;
  @@ -385,7 +385,7 @@
           m->multimatch |= MULTIMATCH_HANDLERS;
       }
       else {
  -        return "Unrecognized option";
  +        return apr_psprintf(cmd->pool, "Unrecognized option '%s'", include);
       }
   
       return NULL;
  
  
  

Mime
View raw message