From 8941c827d3e8baedc4fdb4479811068842005f5f Mon Sep 17 00:00:00 2001 From: Pawel Kuzak Date: Wed, 8 Nov 2017 13:22:46 +0100 Subject: [PATCH] Fix control statistics headlines StopRec was missing --- daemon/cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/cli.c b/daemon/cli.c index b089a8e69..8ea48eaa5 100644 --- a/daemon/cli.c +++ b/daemon/cli.c @@ -172,8 +172,8 @@ static void cli_incoming_list_totals(char* buffer, int len, struct callmaster* m printlen = snprintf(replybuffer,(outbufend-replybuffer), "Control statistics:\n\n"); ADJUSTLEN(printlen,outbufend,replybuffer); - printlen = snprintf(replybuffer,(outbufend-replybuffer), " %20s | %10s | %10s | %10s | %10s | %10s | %10s | %10s | %10s \n", - "Proxy", "Offer", "Answer", "Delete", "Ping", "List", "Query", "StartRec", "Errors"); + printlen = snprintf(replybuffer,(outbufend-replybuffer), " %20s | %10s | %10s | %10s | %10s | %10s | %10s | %10s | %10s | %10s \n", + "Proxy", "Offer", "Answer", "Delete", "Ping", "List", "Query", "StartRec", "StopRec", "Errors"); ADJUSTLEN(printlen,outbufend,replybuffer); mutex_lock(&m->cngs_lock);