From 9d8238a2bb3232ad1d76f69aecfb4e665b58ca05 Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Thu, 23 Aug 2012 11:37:15 +0200 Subject: [PATCH] fixed json output --- core/master_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/master_utils.c b/core/master_utils.c index 6916d752..270a65de 100644 --- a/core/master_utils.c +++ b/core/master_utils.c @@ -761,7 +761,7 @@ void uwsgi_send_stats(int fd) { goto end0; if (uwsgi_stats_keylong_comma(us, "pid", (unsigned long long) ud->pid)) goto end0; - if (uwsgi_stats_keylong_comma(us, "respawns", (unsigned long long) (ud->respawns - 1))) + if (uwsgi_stats_keylong(us, "respawns", (unsigned long long) (ud->respawns - 1))) goto end0; if (uwsgi_stats_object_close(us)) goto end0;