httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/netware mpm_netware.c
Date Fri, 01 Feb 2002 17:29:27 GMT
bnicholes    02/02/01 09:29:27

  Modified:    server/mpm/netware mpm_netware.c
  Log:
  Fixed the unload process so that the console command gets properly
  unregistered.  This fixes the 88 unreleased resources after termination
  
  Revision  Changes    Path
  1.30      +4 -2      httpd-2.0/server/mpm/netware/mpm_netware.c
  
  Index: mpm_netware.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/netware/mpm_netware.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- mpm_netware.c	31 Jan 2002 19:21:34 -0000	1.29
  +++ mpm_netware.c	1 Feb 2002 17:29:27 -0000	1.30
  @@ -183,6 +183,8 @@
   static int request_count;
   
   /*  Structure used to register/deregister a console handler with the OS */
  +static int InstallConsoleHandler(void);
  +static void RemoveConsoleHandler(void);
   static int CommandLineInterpreter(scr_t screenID, const char *commandLine);
   static  CommandParser_t ConsoleHandler = {0, NULL, 0};
   #define HANDLEDCOMMAND  0
  @@ -270,7 +272,7 @@
   
   static void mpm_term(void)
   {
  -    UnRegisterConsoleCommand(&ConsoleHandler);
  +    RemoveConsoleHandler();
       wait_to_finish = 0;
   }
   
  @@ -319,7 +321,7 @@
           NXThreadYield();
       }
   */
  -    return 0;
  +    return 1;
   }
   
   /*****************************************************************
  
  
  

Mime
View raw message