[svn-commits] branch bweschke/findme_followme r32350 - /team/bweschke/findme_followme/apps/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jun 5 11:19:23 MST 2006


Author: bweschke
Date: Mon Jun  5 13:19:23 2006
New Revision: 32350

URL: http://svn.digium.com/view/asterisk?rev=32350&view=rev
Log:
 There's never a reason to return -1 on load_module when there's no followme.conf, which will also prevent us from crashing Asterisk on startup if followme.conf isn't there.


Modified:
    team/bweschke/findme_followme/apps/app_followme.c

Modified: team/bweschke/findme_followme/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/team/bweschke/findme_followme/apps/app_followme.c?rev=32350&r1=32349&r2=32350&view=diff
==============================================================================
--- team/bweschke/findme_followme/apps/app_followme.c (original)
+++ team/bweschke/findme_followme/apps/app_followme.c Mon Jun  5 13:19:23 2006
@@ -991,10 +991,8 @@
 
 static int load_module(void *mod)
 {
-	if (reload_followme())
-		return ast_register_application(app, app_exec, synopsis, descrip);
-	else
-		return -1;
+	reload_followme();
+	return ast_register_application(app, app_exec, synopsis, descrip);
 }
 
 static const char *description(void)



More information about the svn-commits mailing list