[zaptel-commits] kpfleming: branch 1.4 r3449 - /branches/1.4/wct4xxp/base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Dec 12 11:41:56 CST 2007


Author: kpfleming
Date: Wed Dec 12 11:41:55 2007
New Revision: 3449

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3449
Log:
remove duplicate setting of 'devicetype'... reported by tzafrir on #asterisk-dev

Modified:
    branches/1.4/wct4xxp/base.c

Modified: branches/1.4/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wct4xxp/base.c?view=diff&rev=3449&r1=3448&r2=3449
==============================================================================
--- branches/1.4/wct4xxp/base.c (original)
+++ branches/1.4/wct4xxp/base.c Wed Dec 12 11:41:55 2007
@@ -1543,8 +1543,6 @@
 				strncat(ts->span.devicetype, (wc->numspans > 2) ? " with VPMOCT128" : " with VPMOCT064",
 					sizeof(ts->span.devicetype) - 1);
 		}
-		snprintf(ts->span.devicetype, sizeof(ts->span.devicetype) - 1, "%s%s", wc->variety,
-			 (wc->vpm != T4_VPM_PRESENT) ? "" : (wc->vpm450m) ? " with VPM450M" : "with VPM400M");
 		if (order_index[wc->order] == 1)
 			snprintf(ts->span.location, sizeof(ts->span.location) - 1, "Board ID Switch %d", wc->order);
 		else




More information about the zaptel-commits mailing list