aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_followme.c
diff options
context:
space:
mode:
authorbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-18 16:59:48 +0000
committerbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-18 16:59:48 +0000
commit30a721171afdbaf9736efa64b2a571f87e95ad87 (patch)
treeed6829bf37b855ec2b138aed4e2725c39abd98f8 /apps/app_followme.c
parentfd92ad648e7cc9e71b4c8dee000aefcc6cd98cf1 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@59036 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r--apps/app_followme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index 27667b22f..285fe7674 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 */