You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ra...@hyperreal.org on 1998/08/13 04:51:41 UTC

cvs commit: apache-1.3/src/modules/standard mod_info.c

randy       98/08/12 19:51:41

  Modified:    src/include ap_mmn.h
  Log:
  Preserve backward compatibility. Pointed out by Roy and Rasmus.
  
  Revision  Changes    Path
  1.2       +1 -0      apache-1.3/src/include/ap_mmn.h
  
  Index: ap_mmn.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/include/ap_mmn.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ap_mmn.h	1998/08/13 01:33:55	1.1
  +++ ap_mmn.h	1998/08/13 02:51:27	1.2
  @@ -166,5 +166,6 @@
   #define MODULE_MAGIC_NUMBER_MAJOR 19980812
   #endif
   #define MODULE_MAGIC_NUMBER_MINOR 00000001
  +#define MODULE_MAGIC_NUMBER MODULE_MAGIC_NUMBER_MAJOR	/* backward compat */
   
   #endif /* !APACHE_AP_MMN_H */
  
  
  

  Modified:    src/modules/standard mod_info.c
  Log:
  Fix thinko.
  
  Revision  Changes    Path
  1.43      +1 -1      apache-1.3/src/modules/standard/mod_info.c
  
  Index: mod_info.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_info.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- mod_info.c	1998/08/13 01:55:14	1.42
  +++ mod_info.c	1998/08/13 02:51:38	1.43
  @@ -407,7 +407,7 @@
                           ap_get_server_built());
               ap_rprintf(r, "<strong>API Version:</strong> "
                           "<tt>%d:%d</tt><br>\n",
  -                        MODULE_MAGIC_NUMBER_MAJOR:MODULE_MAGIC_NUMBER_MINOR);
  +                        MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR);
               ap_rprintf(r, "<strong>Run Mode:</strong> <tt>%s</tt><br>\n",
                           (ap_standalone ? "standalone" : "inetd"));
               ap_rprintf(r, "<strong>User/Group:</strong> "