httpd-cvs mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=807788&view=rev
Log:
Compilers today are sooo picky.  Good thing, too, but these weren't errors.

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

Modified: httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c?rev=807788&r1=807787&r2=807788&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c Tue Aug 25 20:08:45 2009
@@ -115,16 +115,16 @@
     apr_table_addn(e, "PATH", env_temp);
 
 #ifdef WIN32
-    if (env_temp = getenv("SYSTEMROOT")) {
+    if ((env_temp = getenv("SYSTEMROOT"))) {
         apr_table_addn(e, "SYSTEMROOT", env_temp);
     }
-    if (env_temp = getenv("COMSPEC")) {
+    if ((env_temp = getenv("COMSPEC"))) {
         apr_table_addn(e, "COMSPEC", env_temp);
     }
-    if (env_temp = getenv("PATHEXT")) {
+    if ((env_temp = getenv("PATHEXT"))) {
         apr_table_addn(e, "PATHEXT", env_temp);
     }
-    if (env_temp = getenv("WINDIR")) {
+    if ((env_temp = getenv("WINDIR"))) {
         apr_table_addn(e, "WINDIR", env_temp);
     }
 #elif defined(OS2)
@@ -145,21 +145,21 @@
         apr_table_addn(e, "LIBRARY_PATH", env_temp);
     }
 #elif defined (AIX)
-    if (env_temp = getenv("LIBPATH")) {
+    if ((env_temp = getenv("LIBPATH"))) {
         apr_table_addn(e, "LIBPATH", env_temp);
     }
 #else
 /* DARWIN, HPUX vary depending on circumstance */
 #if defined (DARWIN)
-    if (env_temp = getenv("DYLD_LIBRARY_PATH")) {
+    if ((env_temp = getenv("DYLD_LIBRARY_PATH"))) {
         apr_table_addn(e, "DYLD_LIBRARY_PATH", env_temp);
     }
 #elif defined (HPUX11) || defined (HPUX10) || defined (HPUX)
-    if (env_temp = getenv("SHLIB_PATH")) {
+    if ((env_temp = getenv("SHLIB_PATH"))) {
         apr_table_addn(e, "SHLIB_PATH", env_temp);
     }
 #endif
-    if (env_temp = getenv("LD_LIBRARY_PATH")) {
+    if ((env_temp = getenv("LD_LIBRARY_PATH"))) {
         apr_table_addn(e, "LD_LIBRARY_PATH", env_temp);
     }
 #endif



Mime
View raw message