bkruse: branch 1.4 r1362 - /branches/1.4/tools/ztscan.c

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Aug 16 16:44:35 CDT 2007


Author: bkruse
Date: Thu Aug 16 16:44:35 2007
New Revision: 1362

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1362
Log:
Fixed a compiler error, its the struct member is totalchans not totalchannels.

Modified:
    branches/1.4/tools/ztscan.c

Modified: branches/1.4/tools/ztscan.c
URL: http://svn.digium.com/view/asterisk-gui/branches/1.4/tools/ztscan.c?view=diff&rev=1362&r1=1361&r2=1362
==============================================================================
--- branches/1.4/tools/ztscan.c (original)
+++ branches/1.4/tools/ztscan.c Thu Aug 16 16:44:35 2007
@@ -78,7 +78,7 @@
 		return NULL;
 	}
 	/* If this is not a digital card, skip it. */
-	if(s[span].totalchannels != 24 || s[span].totalchannels != 31) 
+	if(s[span].totalchans != 24 || s[span].totalchans != 31) 
 		return NULL;
 
 	strcpy(alarms, "");




More information about the asterisk-gui-commits mailing list