bkruse: branch asterisknow r1829 - /branches/asterisknow/tools/ztscan.c

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Nov 21 15:16:01 CST 2007


Author: bkruse
Date: Wed Nov 21 15:16:01 2007
New Revision: 1829

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1829
Log:
It was WCTDM not WILDCARD

Modified:
    branches/asterisknow/tools/ztscan.c

Modified: branches/asterisknow/tools/ztscan.c
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/tools/ztscan.c?view=diff&rev=1829&r1=1828&r2=1829
==============================================================================
--- branches/asterisknow/tools/ztscan.c (original)
+++ branches/asterisknow/tools/ztscan.c Wed Nov 21 15:16:01 2007
@@ -109,8 +109,8 @@
 			fprintf(stderr, "Unable to get span info on span %d: %s\n", span, strerror(errno)); 
 		return NULL;
 	}
-	/* If this is not a digital card or it is a WILDCARD (analog), skip it. */
-	if(s[span].totalchans <= 23 || s[span].totalchans >= 32 || !strncmp(s[span].name, "WILD", 4))
+	/* If this is not a digital card or it is a WTCDM (analog), skip it. */
+	if(s[span].totalchans <= 23 || s[span].totalchans >= 32 || !strncmp(s[span].name, "WCTDM", 5))
 		return NULL;
 
 	strcpy(alarms, "");




More information about the asterisk-gui-commits mailing list