From: Russell Bryant Date: Fri, 24 Jul 2009 18:38:24 +0000 (+0000) Subject: Do not log an ERROR if autoservice_stop() returns -1. X-Git-Tag: 1.4.26.2~4^2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55d9c2ecaf6235615b1f476ccb1634c72edd22a1;p=thirdparty%2Fasterisk.git Do not log an ERROR if autoservice_stop() returns -1. 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 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index c8cb3a37d6..080de00fec 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -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; }