httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r807817 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
Date Tue, 25 Aug 2009 21:45:17 GMT
Author: wrowe
Date: Tue Aug 25 21:45:16 2009
New Revision: 807817

URL: http://svn.apache.org/viewvc?rev=807817&view=rev
Log:
Fix compilation for win32 and unix, attempted to be too clever by half

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c?rev=807817&r1=807816&r2=807817&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c Tue Aug 25 21:45:16 2009
@@ -560,8 +560,11 @@
         config->default_init_env = apr_table_make(cmd->pool, 20);
 #if defined(WIN32) || defined(OS2) || defined(NETWARE)
     /* Case insensitive environment platforms */
-    for (char *pstr = name = apr_pstrdup(cmd->pool, name); *pstr; ++pstr)
-        *pstr = apr_toupper(*pstr);
+    {
+        char *pstr;
+        for (name = pstr = apr_pstrdup(cmd->pool, name); *pstr; ++pstr)
+            *pstr = apr_toupper(*pstr);
+    }
 #endif
     apr_table_set(config->default_init_env, name, value ? value : "");
     return NULL;



Mime
View raw message