[svn-commits] branch 1.2 r1069 - /branches/1.2/wctdm.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed May 17 14:13:27 MST 2006
Author: file
Date: Wed May 17 16:13:27 2006
New Revision: 1069
URL: http://svn.digium.com/view/zaptel?rev=1069&view=rev
Log:
Don't change the value of lasttxhook, instead do a comparison. (issue #7175 reported and fixed by Thomas Andrews) If this breaks things, you can yell at me.
Modified:
branches/1.2/wctdm.c
Modified: branches/1.2/wctdm.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wctdm.c?rev=1069&r1=1068&r2=1069&view=diff
==============================================================================
--- branches/1.2/wctdm.c (original)
+++ branches/1.2/wctdm.c Wed May 17 16:13:27 2006
@@ -1083,7 +1083,7 @@
wc->mod[x].fxs.idletxhookstate = 0x5; /* Switch to active */
else
wc->mod[x].fxs.idletxhookstate = 0x1;
- if ((wc->mod[x].fxs.lasttxhook == 0x2) || (wc->mod[x].fxs.lasttxhook = 0x6)) {
+ if ((wc->mod[x].fxs.lasttxhook == 0x2) || (wc->mod[x].fxs.lasttxhook == 0x6)) {
/* Apply the change if appropriate */
if (reversepolarity)
wc->mod[x].fxs.lasttxhook = 0x5;
More information about the svn-commits
mailing list