[asterisk-commits] branch crichter/0.3.0 - r8003 /team/crichter/0.3.0/channels/chan_misdn_config.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 12 07:47:25 CST 2006


Author: crichter
Date: Thu Jan 12 07:47:22 2006
New Revision: 8003

URL: http://svn.digium.com/view/asterisk?rev=8003&view=rev
Log:
fixed get_next_port

Modified:
    team/crichter/0.3.0/channels/chan_misdn_config.c

Modified: team/crichter/0.3.0/channels/chan_misdn_config.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.3.0/channels/chan_misdn_config.c?rev=8003&r1=8002&r2=8003&view=diff
==============================================================================
--- team/crichter/0.3.0/channels/chan_misdn_config.c (original)
+++ team/crichter/0.3.0/channels/chan_misdn_config.c Thu Jan 12 07:47:22 2006
@@ -492,10 +492,11 @@
 int misdn_cfg_get_next_port (int port)
 {
 	int p = -1;
+	int gn = map[MISDN_CFG_GROUPNAME];
 	
 	misdn_cfg_lock();
 	for (port++; port <= max_ports; port++) {
-		if (port_cfg[port]) {
+		if (port_cfg[i][gn].str) {
 			p = port;
 			break;
 		}



More information about the asterisk-commits mailing list