[libpri-commits] rmudgett: branch rmudgett/t312 r2226 - /team/rmudgett/t312/pri.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Sat Feb 26 00:03:36 CST 2011


Author: rmudgett
Date: Sat Feb 26 00:03:19 2011
New Revision: 2226

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2226
Log:
Tweak call record stat header.

Modified:
    team/rmudgett/t312/pri.c

Modified: team/rmudgett/t312/pri.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/t312/pri.c?view=diff&rev=2226&r1=2225&r2=2226
==============================================================================
--- team/rmudgett/t312/pri.c (original)
+++ team/rmudgett/t312/pri.c Sat Feb 26 00:03:19 2011
@@ -1767,7 +1767,7 @@
 			q921outstanding, link->tei);
 	}
 
-	/* Count the call records in existance. */
+	/* Count the call records in existance.  Useful to check for unreleased calls. */
 	num_calls = 0;
 	num_globals = 0;
 	for (call = *ctrl->callpool; call; call = call->next) {
@@ -1781,8 +1781,8 @@
 				"Master call subcall count: %d\n", q931_get_subcall_count(call));
 		}
 	}
-	used = pri_snprintf(buf, used, buf_size, "Total calls:%u global:%u\n", num_calls,
-		num_globals);
+	used = pri_snprintf(buf, used, buf_size, "Total active-calls:%u global:%u\n",
+		num_calls, num_globals);
 
 	/*
 	 * List simplified call completion records.




More information about the libpri-commits mailing list