fat                                      Thu, 22 Apr 2010 07:14:06 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=298298

Log:
correct wrong comparison (thx to felipe)

Changed paths:
    U   php/php-src/trunk/sapi/fpm/fpm/fpm_conf.c

Modified: php/php-src/trunk/sapi/fpm/fpm/fpm_conf.c
===================================================================
--- php/php-src/trunk/sapi/fpm/fpm/fpm_conf.c   2010-04-22 06:15:46 UTC (rev 
298297)
+++ php/php-src/trunk/sapi/fpm/fpm/fpm_conf.c   2010-04-22 07:14:06 UTC (rev 
298298)
@@ -418,7 +418,7 @@
                        return -1;
                }

-               if (wp->config->pm == NULL) {
+               if (wp->config->pm != PM_STYLE_STATIC && wp->config->pm != 
PM_STYLE_DYNAMIC) {
                        zlog(ZLOG_STUFF, ZLOG_ALERT, "[pool %s] the process 
manager is missing (static or dynamic)", wp->config->name);
                        return -1;
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to