Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv7341/channels

Modified Files:
        chan_zap.c 
Log Message:
more whitespace cleanup


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.524
retrieving revision 1.525
diff -u -d -r1.524 -r1.525
--- chan_zap.c  28 Sep 2005 20:46:43 -0000      1.524
+++ chan_zap.c  28 Sep 2005 21:23:54 -0000      1.525
@@ -5255,18 +5255,17 @@
                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 @@
                                }
                                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)) {

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to