httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1004311 - /httpd/httpd/trunk/server/mpm/netware/mpm_netware.c
Date Mon, 04 Oct 2010 16:29:43 GMT
Author: fuankg
Date: Mon Oct  4 16:29:43 2010
New Revision: 1004311

URL: http://svn.apache.org/viewvc?rev=1004311&view=rev
Log:
Removed duplicate global; removed obsolete cast.

Modified:
    httpd/httpd/trunk/server/mpm/netware/mpm_netware.c

Modified: httpd/httpd/trunk/server/mpm/netware/mpm_netware.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/netware/mpm_netware.c?rev=1004311&r1=1004310&r2=1004311&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/netware/mpm_netware.c (original)
+++ httpd/httpd/trunk/server/mpm/netware/mpm_netware.c Mon Oct  4 16:29:43 2010
@@ -110,10 +110,6 @@ int nlmUnloadSignaled(int wait);
 
 #define MPM_HARD_LIMITS_FILE "/mpm_default.h"
 
-/* config globals */
-
-server_rec *ap_server_conf;
-
 /* *Non*-shared http_main globals... */
 
 static int ap_threads_per_child=0;         /* Worker threads per child */
@@ -1145,7 +1141,7 @@ static void netware_rewrite_args(process
 
             optbuf[0] = '-';
             optbuf[2] = '\0';
-            apr_getopt_init(&opt, process->pool, process->argc, (char**) process->argv);
+            apr_getopt_init(&opt, process->pool, process->argc, process->argv);
             while (apr_getopt(opt, AP_SERVER_BASEARGS"n:", optbuf + 1, &opt_arg) == APR_SUCCESS)
{
                 switch (optbuf[1]) {
                 case 'n':



Mime
View raw message