[asterisk-commits] trunk - r8010 /trunk/channels/chan_agent.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 12 10:00:05 CST 2006


Author: mogorman
Date: Thu Jan 12 10:00:04 2006
New Revision: 8010

URL: http://svn.digium.com/view/asterisk?rev=8010&view=rev
Log:
removed unused variable and config parsing for it
as to bug 6219

Modified:
    trunk/channels/chan_agent.c

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=8010&r1=8009&r2=8010&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Thu Jan 12 10:00:04 2006
@@ -170,7 +170,6 @@
 static int recordagentcalls = 0;
 static char recordformat[AST_MAX_BUF] = "";
 static char recordformatext[AST_MAX_BUF] = "";
-static int createlink = 0;
 static char urlprefix[AST_MAX_BUF] = "";
 static char savecallsin[AST_MAX_BUF] = "";
 static int updatecdr = 0;
@@ -1037,7 +1036,6 @@
 	strcpy(moh, "default");
 	/* set the default recording values */
 	recordagentcalls = 0;
-	createlink = 0;
 	strcpy(recordformat, "wav");
 	strcpy(recordformatext, "wav");
 	urlprefix[0] = '\0';
@@ -1085,8 +1083,6 @@
 				updatecdr = 0;
 		} else if (!strcasecmp(v->name, "recordagentcalls")) {
 			recordagentcalls = ast_true(v->value);
-		} else if (!strcasecmp(v->name, "createlink")) {
-			createlink = ast_true(v->value);
 		} else if (!strcasecmp(v->name, "recordformat")) {
 			ast_copy_string(recordformat, v->value, sizeof(recordformat));
 			if (!strcasecmp(v->value, "wav49"))



More information about the asterisk-commits mailing list