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 2012/04/11 01:44:56 UTC

svn commit: r1312047 - in /httpd/mod_fcgid/trunk/modules/fcgid: fcgid_conf.c fcgid_proc_win.c

Author: trawick
Date: Tue Apr 10 23:44:56 2012
New Revision: 1312047

URL: http://svn.apache.org/viewvc?rev=1312047&view=rev
Log:
minor style tweak to r1311569

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_win.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=1312047&r1=1312046&r2=1312047&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c Tue Apr 10 23:44:56 2012
@@ -776,8 +776,7 @@ const char *set_win32_prevent_process_or
     fcgid_server_conf *config = ap_get_module_config(s->module_config,
                                                      &fcgid_module);
 
-    if (config != NULL && config->hJobObjectForAutoCleanup == NULL)
-    {
+    if (config != NULL && config->hJobObjectForAutoCleanup == NULL) {
         /* Create Win32 job object to prevent CGI process oprhaning
          */
         JOBOBJECT_EXTENDED_LIMIT_INFORMATION job_info = { 0 };

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_win.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_win.c?rev=1312047&r1=1312046&r2=1312047&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_win.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_win.c Tue Apr 10 23:44:56 2012
@@ -190,8 +190,7 @@ apr_status_t proc_spawn_process(const ch
         return APR_SUCCESS;
     }
 
-    if (sconf->hJobObjectForAutoCleanup != NULL)
-    {
+    if (sconf->hJobObjectForAutoCleanup != NULL) {
         /* Associate cgi process to current process */
         if (AssignProcessToJobObject(sconf->hJobObjectForAutoCleanup,
                                      procnode->proc_id.hproc) == 0) {