summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-04-13 17:22:16 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-04-13 17:22:16 +0000
commit8410bbf7bf62d9bacc55a2ec518d36803286f9be (patch)
tree4410b1d529081d2064cb106d3c4303f35bbe9815 /file.c
parenta9d8b4a553232dfd9835d8f99fedef9148402ad3 (diff)
Unregister format says it's already unregistered
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index a39300519..b55c9546e 100644
--- a/file.c
+++ b/file.c
@@ -132,7 +132,7 @@ int ast_format_unregister(const char *name)
AST_LIST_TRAVERSE_SAFE_END
AST_LIST_UNLOCK(&formats);
- if (tmp) {
+ if (!res) {
if (option_verbose > 1)
ast_verbose( VERBOSE_PREFIX_2 "Unregistered format %s\n", name);
} else