php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60179
Patch fpm-bug60179-v2.patch revision 2011-11-03 15:07 UTC by fat@php.net
Patch fpm-bug60179.patch revision 2011-10-31 13:00 UTC by fat@php.net

Patch fpm-bug60179-v2.patch for FPM related Bug #60179

Patch version 2011-11-03 15:07 UTC

Return to Bug #60179 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: fat@php.net

Index: sapi/fpm/fpm/fpm_conf.c
===================================================================
--- sapi/fpm/fpm/fpm_conf.c	(revision 318739)
+++ sapi/fpm/fpm/fpm_conf.c	(working copy)
@@ -539,7 +539,7 @@
 	if (convert_to_bool) {
 		char *err = fpm_conf_set_boolean(value, &subconf, 0);
 		if (err) return err;
-		kv->value = strdup(b ? "On" : "Off");
+		kv->value = strdup(b ? "1" : "0");
 	} else {
 		kv->value = strdup(Z_STRVAL_P(value));
 		if (fpm_conf_expand_pool_name(&kv->value) == -1) {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC