]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix a typo
authorMartin Pycko <martinp@digium.com>
Mon, 19 May 2003 23:45:46 +0000 (23:45 +0000)
committerMartin Pycko <martinp@digium.com>
Mon, 19 May 2003 23:45:46 +0000 (23:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1045 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 1537dbda62339c62ddd643be4c71455352cf914c..a4399b8c64a0fcec5692354d1ee435efee714ef5 100755 (executable)
@@ -2884,7 +2884,7 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
                        case SIG_SF_FEATDMF:
                        case SIG_SF_FEATB:
                                /* FGD MF *Must* wait for wink */
-                               if (strlen(p->dop.dialstr)) {
+                               if (strlen(p->dop.dialstr))
                                        res = ioctl(p->subs[SUB_REAL].zfd, ZT_DIAL, &p->dop);
                                else if (res < 0) {
                                        ast_log(LOG_WARNING, "Unable to initiate dialing on trunk channel %d\n", p->channel);