httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_core.c
Date Fri, 08 May 1998 11:27:52 GMT
martin      98/05/08 04:27:52

  Modified:    src/main http_core.c
  Log:
  AddVersionPlatform sets a global variable. Enforce GLOBAL context
  
  Revision  Changes    Path
  1.196     +3 -0      apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.195
  retrieving revision 1.196
  diff -u -u -r1.195 -r1.196
  --- http_core.c	1998/05/07 22:42:05	1.195
  +++ http_core.c	1998/05/08 11:27:51	1.196
  @@ -1894,6 +1894,9 @@
   static const char *enable_platform_announcement(cmd_parms *cmd, void *mconfig,
   						int flag)
   {
  +    const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
  +    if (err != NULL) return err;
  +
       ap_note_platform = flag;
       return NULL;
   }
  
  
  

Mime
View raw message