[svn-commits] trunk r32698 - /trunk/apps/app_followme.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Jun 6 13:39:12 MST 2006


Author: bweschke
Date: Tue Jun  6 15:39:11 2006
New Revision: 32698

URL: http://svn.digium.com/view/asterisk?rev=32698&view=rev
Log:
 More cleanup.


Modified:
    trunk/apps/app_followme.c

Modified: trunk/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_followme.c?rev=32698&r1=32697&r2=32698&view=diff
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Tue Jun  6 15:39:11 2006
@@ -763,9 +763,8 @@
 	return NULL;
 }
 
-static void findmeexec(void *args)
-{
-	struct fm_args *tpargs;
+static void findmeexec(struct fm_args *tpargs)
+{
 	struct number *nm;
 	struct ast_channel *outbound;
 	struct ast_channel *caller;
@@ -781,12 +780,6 @@
 
 	findme_user_list = ast_calloc(1, sizeof(*findme_user_list));		
 	AST_LIST_HEAD_INIT_NOLOCK(findme_user_list);
-
-	tpargs = (struct fm_args *)args;
-			
-	if (!tpargs->chan) 
-		return;
-	
 
 	/* We're going to figure out what the longest possible string of digits to collect is */
 	ynlongest = 0;



More information about the svn-commits mailing list