[asterisk-commits] bweschke: branch 1.4 r59035 - /branches/1.4/apps/app_followme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Mar 18 09:36:45 MST 2007


Author: bweschke
Date: Sun Mar 18 11:36:44 2007
New Revision: 59035

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59035
Log:
 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)


Modified:
    branches/1.4/apps/app_followme.c

Modified: branches/1.4/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_followme.c?view=diff&rev=59035&r1=59034&r2=59035
==============================================================================
--- branches/1.4/apps/app_followme.c (original)
+++ branches/1.4/apps/app_followme.c Sun Mar 18 11:36:44 2007
@@ -952,7 +952,7 @@
 		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 */
 



More information about the asterisk-commits mailing list