[asterisk-commits] branch tilghman/res_odbc_rewrite r18222 - /team/tilghman/res_odbc_rewrite/res/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Apr 7 05:45:20 MST 2006


Author: tilghman
Date: Fri Apr  7 07:45:19 2006
New Revision: 18222

URL: http://svn.digium.com/view/asterisk?rev=18222&view=rev
Log:
Looks weird when we say Connections: 0 when there's a connection just below it

Modified:
    team/tilghman/res_odbc_rewrite/res/res_odbc.c

Modified: team/tilghman/res_odbc_rewrite/res/res_odbc.c
URL: http://svn.digium.com/view/asterisk/team/tilghman/res_odbc_rewrite/res/res_odbc.c?rev=18222&r1=18221&r2=18222&view=diff
==============================================================================
--- team/tilghman/res_odbc_rewrite/res/res_odbc.c (original)
+++ team/tilghman/res_odbc_rewrite/res/res_odbc.c Fri Apr  7 07:45:19 2006
@@ -310,7 +310,7 @@
 				ast_cli(fd, "Name: %s\nDSN: %s\n", class->name, class->dsn);
 
 				if (class->haspool) {
-					ast_cli(fd, "Pooled: yes\nLimit: %d\nConnections: %d\n", class->limit, class->count);
+					ast_cli(fd, "Pooled: yes\nLimit: %d\nConnections in use: %d\n", class->limit, class->count);
 
 					AST_LIST_TRAVERSE(&(class->odbc_obj), current, list) {
 						ast_cli(fd, "  Connection %d: %s", ++count, current->up && odbc_sanity_check(current) ? "connected" : "disconnected");



More information about the asterisk-commits mailing list