Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 334049 | Differences between
and this patch

Collapse All | Expand All

(-)app_swift-2.0_ast-1.6.orig/app_swift.c (-1 / +3 lines)
Lines 409-415 Link Here
409
					ASTOBJ_WRLOCK(ps);
409
					ASTOBJ_WRLOCK(ps);
410
					ps->immediate_exit = 1;
410
					ps->immediate_exit = 1;
411
					ASTOBJ_UNLOCK(ps);
411
					ASTOBJ_UNLOCK(ps);
412
				} else if (f->frametype == AST_FRAME_DTMF && timeout > 0 && max_digits > 0) {
412
				} else {
413
					if (f->frametype == AST_FRAME_DTMF && timeout > 0 && max_digits > 0) {
413
					char originDTMF = f->subclass;
414
					char originDTMF = f->subclass;
414
					alreadyran = 1;
415
					alreadyran = 1;
415
					res = 0;
416
					res = 0;
Lines 430-435 Link Here
430
					pbx_builtin_setvar_helper(chan, "SWIFT_DTMF", results);
431
					pbx_builtin_setvar_helper(chan, "SWIFT_DTMF", results);
431
				}
432
				}
432
				ast_frfree(f);
433
				ast_frfree(f);
434
				}
433
			}
435
			}
434
		}
436
		}
435
437

Return to bug 334049