pgpool2.git / summary / log / commit / refs

commit    1f0d3d613b84b86cb0d462acbd5d861cf52cba2a
Author:   Guillaume Lelarge <guillaume at lelarge.info>
Date:     Mon May 23 09:35:01 2011 +0000

    backend status variable name was wrong. Replace the space with a _


pool_process_reporting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool_process_reporting.c b/pool_process_reporting.c index 4297d2692..70d51765f 100644 --- a/pool_process_reporting.c +++ b/pool_process_reporting.c @@ -534,7 +534,7 @@ POOL_REPORT_CONFIG* get_config(int *nrows) snprintf(status[i].desc, POOLCONFIG_MAXDESCLEN, "weight of backend #%d", j); i++; - snprintf(status[i].name, POOLCONFIG_MAXNAMELEN, "backend status%d", j); + snprintf(status[i].name, POOLCONFIG_MAXNAMELEN, "backend_status%d", j); snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%d", BACKEND_INFO(j).backend_status); snprintf(status[i].desc, POOLCONFIG_MAXDESCLEN, "status of backend #%d", j); i++; [parent: 8cf5b2e85021]