Permalink
Browse files

Fixed stat name.

  • Loading branch information...
1 parent 7eeb946 commit 8ee367bae93d0ccc8817bf0ee5a61ce1cb43c3ec @nathanfolkman nathanfolkman committed Aug 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 pubsub/pubsub.c
View
@@ -33,7 +33,7 @@ stats_cb(struct evhttp_request *req, struct evbuffer *evb, void *ctx)
sprintf(buf, "%ld", totalConns);
evhttp_add_header(req->output_headers, "X-PUBSUB-TOTAL-CONNECTIONS", buf);
sprintf(buf, "%ld", currentConns);
- evhttp_add_header(req->output_headers, "X-PUBSUB-CURRENT-CONNECTIONS", buf);
+ evhttp_add_header(req->output_headers, "X-PUBSUB-ACTIVE-CONNECTIONS", buf);
sprintf(buf, "%ld", msgRecv);
evhttp_add_header(req->output_headers, "X-PUBSUB-MESSAGES-RECEIVED", buf);
sprintf(buf, "%ld", msgSent);

0 comments on commit 8ee367b

Please sign in to comment.