[svn-commits] branch crichter/0.3.0 - r8002
/team/crichter/0.3.0/channels/chan_misdn_config.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Jan 12 07:39:42 CST 2006
Author: crichter
Date: Thu Jan 12 07:39:39 2006
New Revision: 8002
URL: http://svn.digium.com/view/asterisk?rev=8002&view=rev
Log:
fixed get ports string function
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=8002&r1=8001&r2=8002&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:39:39 2006
@@ -367,12 +367,13 @@
{
char tmp[16];
int l, i;
+ int gn = map[MISDN_CFG_GROUPNAME];
*ports = 0;
misdn_cfg_lock();
for (i = 1; i <= max_ports; i++) {
- if (port_cfg[i]) {
+ if (port_cfg[i][gn].str) {
if (ptp[i])
sprintf(tmp, "%dptp,", i);
else
More information about the svn-commits
mailing list