aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-28 21:23:54 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-28 21:23:54 +0000
commit0cb80330d9f54738d832e70a5637b3c04e7fd3c5 (patch)
tree08941ffda9dd637f0951f275aacc83b89d808a5a /channels
parentd277371df21cc020712ea65d9fe7a9b1d745016b (diff)
more whitespace cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6685 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index d4979ffbc..ddd6ff89a 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5255,18 +5255,17 @@ static void *ss_thread(void *data)
if (res > 0) {
/* save first char */
dtmfbuf[0] = res;
- switch(p->sig)
- {
- case SIG_FEATD:
- case SIG_SF_FEATD:
+ switch(p->sig) {
+ case SIG_FEATD:
+ case SIG_SF_FEATD:
res = my_getsigstr(chan,dtmfbuf + 1, "*", 3000);
if (res > 0)
res = my_getsigstr(chan,dtmfbuf + strlen(dtmfbuf), "*", 3000);
if ((res < 1) && (p->dsp)) ast_dsp_digitreset(p->dsp);
break;
- case SIG_FEATDMF:
- case SIG_E911:
- case SIG_SF_FEATDMF:
+ case SIG_FEATDMF:
+ case SIG_E911:
+ case SIG_SF_FEATDMF:
res = my_getsigstr(chan,dtmfbuf + 1, "#", 3000);
if (res > 0) {
/* if E911, take off hook */
@@ -5277,12 +5276,12 @@ static void *ss_thread(void *data)
}
if ((res < 1) && (p->dsp)) ast_dsp_digitreset(p->dsp);
break;
- case SIG_FEATB:
- case SIG_SF_FEATB:
+ case SIG_FEATB:
+ case SIG_SF_FEATB:
res = my_getsigstr(chan,dtmfbuf + 1, "#", 3000);
if ((res < 1) && (p->dsp)) ast_dsp_digitreset(p->dsp);
break;
- default:
+ default:
/* If we got the first digit, get the rest */
len = 1;
while((len < AST_MAX_EXTENSION-1) && ast_matchmore_extension(chan, chan->context, dtmfbuf, 1, p->cid_num)) {