From: BJ Weschke Date: Sun, 18 Mar 2007 16:59:48 +0000 (+0000) Subject: Merged revisions 59035 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~2991 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39857b78e713ed0818f8ad2baa687638e441eaff;p=thirdparty%2Fasterisk.git Merged revisions 59035 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59035 | bweschke | 2007-03-18 12:36:44 -0400 (Sun, 18 Mar 2007) | 3 lines Don't return a non-zero return code if the profile doesn't exist, to match what the documentation says it already does. (#9307 Reported by kkiely) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59036 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_followme.c b/apps/app_followme.c index 27667b22fc..285fe76742 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -952,7 +952,7 @@ static int app_exec(struct ast_channel *chan, void *data) ast_log(LOG_DEBUG, "New profile %s.\n", args.followmeid); if (!f) { ast_log(LOG_WARNING, "Profile requested, %s, not found in the configuration.\n", args.followmeid); - res = -1; + res = 0; } else { /* XXX TODO: Reinsert the db check value to see whether or not follow-me is on or off */