dahdi-monitor: Fix broken control-C behavior and -F output option
authorRuss Meyerriecks <rmeyerriecks@digium.com>
Fri, 21 Sep 2012 17:25:48 +0000 (17:25 +0000)
committerRuss Meyerriecks <rmeyerriecks@digium.com>
Fri, 21 Sep 2012 17:25:48 +0000 (17:25 +0000)
commit79ed81f9f5f16cd23552719d80e773d3a7e56073
treea018c5f9aa1a937fdfaf8e9ce8e3b98a182fd406
parent3114b89905746a7f8a797713fae60555bca49b9c
dahdi-monitor: Fix broken control-C behavior and -F output option

After hitting control-C when writing a wav file, dahdi_monitor reports
"Failed to read in a full wav header. Expect bad things."

Also when using the -F output option, the wav header is not written.

Reported-by: Richard Miller
Internal-Issue-ID: DAHTOOL-59
Patch: dahdi_monitor.diff by Richard Miller (license #5685)
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10717 17933a7a-c749-41c5-a318-cba88f637d49
dahdi_monitor.c