diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-12 17:41:55 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-12 17:41:55 +0000 |
commit | be89b8ad6487dc4afd782a3c7487a38fbfa68f90 (patch) | |
tree | a4a11f3947a16243eb9039d5414276305b4a9bc0 /wct4xxp | |
parent | 083862f94f8d475763f761446f36d9def4b6ffba (diff) |
remove duplicate setting of 'devicetype'... reported by tzafrir on #asterisk-dev
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3449 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r-- | wct4xxp/base.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c index b33c443..0b4a2d9 100644 --- a/wct4xxp/base.c +++ b/wct4xxp/base.c @@ -1543,8 +1543,6 @@ static void init_spans(struct t4 *wc) 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 |