]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Do not log an ERROR if autoservice_stop() returns -1.
authorRussell Bryant <russell@russellbryant.com>
Fri, 24 Jul 2009 18:38:24 +0000 (18:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 24 Jul 2009 18:38:24 +0000 (18:38 +0000)
This does not indicate an error.  A return of -1 just means that the channel
has been hung up.

(reported in #asterisk-dev)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@208592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index c8cb3a37d651ea7a5015a4c126c36ef24a23a0e6..080de00fecd3d43b5c23d15c6965344654f8d83a 100644 (file)
@@ -1674,7 +1674,6 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
                        }
 
                        if (ast_autoservice_stop(chan) < 0) {
-                               ast_log(LOG_ERROR, "Could not stop autoservice on calling channel\n");
                                res = -1;
                        }