[Asterisk-cvs] zaptel zaptel.c,1.59,1.60
citats at lists.digium.com
citats at lists.digium.com
Fri Feb 27 00:30:56 CST 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv11055
Modified Files:
zaptel.c
Log Message:
Return before spin_unlock (bug #1089)
Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- zaptel.c 15 Feb 2004 02:23:25 -0000 1.59
+++ zaptel.c 27 Feb 2004 05:20:13 -0000 1.60
@@ -3203,7 +3203,10 @@
break;
case ZT_DIAL_OP_APPEND:
if (strlen(tdo.dialstr) + strlen(chan->txdialbuf) >= ZT_MAX_DTMF_BUF)
- return -EBUSY;
+ {
+ rv = -EBUSY;
+ break;
+ }
strncpy(chan->txdialbuf + strlen(chan->txdialbuf), tdo.dialstr, ZT_MAX_DTMF_BUF - strlen(chan->txdialbuf));
if (!chan->dialing)
{
More information about the svn-commits
mailing list