diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-28 21:29:40 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-28 21:29:40 +0000 |
commit | a64d4868758aaadf3a8ec3981f819150e9cbd02d (patch) | |
tree | 9ed65baa278f66c3513cba4bc09ab35a12ab2b7e /channels | |
parent | 0cb80330d9f54738d832e70a5637b3c04e7fd3c5 (diff) |
more whitespace fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6686 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index ddd6ff89a..f1c3594cc 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5258,27 +5258,26 @@ static void *ss_thread(void *data) switch(p->sig) { case SIG_FEATD: case SIG_SF_FEATD: - res = my_getsigstr(chan,dtmfbuf + 1, "*", 3000); + res = my_getsigstr(chan, dtmfbuf + 1, "*", 3000); if (res > 0) - res = my_getsigstr(chan,dtmfbuf + strlen(dtmfbuf), "*", 3000); + 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: - res = my_getsigstr(chan,dtmfbuf + 1, "#", 3000); + res = my_getsigstr(chan, dtmfbuf + 1, "#", 3000); if (res > 0) { /* if E911, take off hook */ - if (p->sig == SIG_E911) { + if (p->sig == SIG_E911) zt_set_hook(p->subs[SUB_REAL].zfd, ZT_OFFHOOK); - } - res = my_getsigstr(chan,dtmfbuf + strlen(dtmfbuf), "#", 3000); + res = my_getsigstr(chan, dtmfbuf + strlen(dtmfbuf), "#", 3000); } if ((res < 1) && (p->dsp)) ast_dsp_digitreset(p->dsp); break; case SIG_FEATB: case SIG_SF_FEATB: - res = my_getsigstr(chan,dtmfbuf + 1, "#", 3000); + res = my_getsigstr(chan, dtmfbuf + 1, "#", 3000); if ((res < 1) && (p->dsp)) ast_dsp_digitreset(p->dsp); break; default: |