httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy mod_proxy.c
Date Tue, 24 Aug 2004 08:55:45 GMT
jerenkrantz    2004/08/24 01:55:45

  Modified:    modules/proxy mod_proxy.c
  Log:
  Clean up some bogus error messages.
  
  (I'll note that the code style in this file borders on unreadable.)
  
  Revision  Changes    Path
  1.132     +4 -2      httpd-2.0/modules/proxy/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/mod_proxy.c,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -u -r1.131 -r1.132
  --- mod_proxy.c	18 Aug 2004 16:46:12 -0000	1.131
  +++ mod_proxy.c	24 Aug 2004 08:55:45 -0000	1.132
  @@ -874,7 +874,8 @@
               char *val = strchr(word, '=');
               if (!val) {
                   if (cmd->path)
  -                    return "Invalid ProxyPass parameter. Paramet must be in the form 'key=value'";
  +                    return "Invalid ProxyPass parameter.  Parameter must be "
  +                           "in the form 'key=value'";
                   else
                       return "ProxyPass can not have a path when defined in a location";

               }
  @@ -1290,7 +1291,8 @@
                   if (cmd->path)
                       return "BalancerMember can not have a balancer name when defined in
a location";
                   else
  -                    return "Invalid BalancerMember parameter. Paramet must be in the form
'key=value'";
  +                    return "Invalid BalancerMember parameter. Parameter must "
  +                           "be in the form 'key=value'";
               else
                   *val++ = '\0';
               apr_table_setn(params, word, val);
  
  
  

Mime
View raw message