You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/09/16 15:51:04 UTC

svn commit: r815780 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c

Author: trawick
Date: Wed Sep 16 13:51:04 2009
New Revision: 815780

URL: http://svn.apache.org/viewvc?rev=815780&view=rev
Log:
apr_shm_baseaddr_get() doesn't return NULL

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

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c?rev=815780&r1=815779&r2=815780&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c Wed Sep 16 13:51:04 2009
@@ -146,12 +146,7 @@
                      shmem_size);
         exit(1);
     }
-    if ((_global_memory = apr_shm_baseaddr_get(g_sharemem)) == NULL) {
-        ap_log_error(APLOG_MARK, APLOG_EMERG, apr_get_os_error(),
-                     main_server,
-                     "mod_fcgid: Can't get base address of shared memory");
-        exit(1);
-    }
+    _global_memory = apr_shm_baseaddr_get(g_sharemem);
 
     /* Create global mutex */
     if ((rv =