diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-09 21:47:02 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-09 21:47:02 +0000 |
commit | 768c0284e382e5b3adbe9e1fd00cf2a890fbebb3 (patch) | |
tree | f9b107bc541ba906160fa855fc9578091738ea28 /res/res_monitor.c | |
parent | 5e8a0a0fb0956e54b67c563eb5c233cd44234c1b (diff) |
Reverting format addition for now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148071 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r-- | res/res_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index 26b18157a..f3be16f7a 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -324,7 +324,7 @@ int ast_monitor_stop(struct ast_channel *chan, int need_lock) if (chan->monitor->joinfiles && !ast_strlen_zero(chan->monitor->filename_base)) { char tmp[1024]; char tmp2[1024]; - const char *format = !strcasecmp(chan->monitor->format,"wav49") ? "WAV" : !strcasecmp(chan->monitor->format, "wav16") ? "Wav" : chan->monitor->format; + const char *format = !strcasecmp(chan->monitor->format,"wav49") ? "WAV" : chan->monitor->format; char *name = chan->monitor->filename_base; int directory = strchr(name, '/') ? 1 : 0; const char *dir = directory ? "" : ast_config_AST_MONITOR_DIR; |