[svn-commits] trunk - r7987 in /trunk: ./ channels/chan_agent.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Jan 11 13:13:36 CST 2006


Author: russell
Date: Wed Jan 11 13:13:33 2006
New Revision: 7987

URL: http://svn.digium.com/view/asterisk?rev=7987&view=rev
Log:
Merged revisions 7986 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7986 | russell | 2006-01-11 14:08:53 -0500 (Wed, 11 Jan 2006) | 2 lines

move variable to correct scope (issue #6197)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_agent.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=7987&r1=7986&r2=7987&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Wed Jan 11 13:13:33 2006
@@ -1687,6 +1687,7 @@
 	char agent_goodbye[AST_MAX_FILENAME_LEN];
 	int update_cdr = updatecdr;
 	char *filename = "agent-loginok";
+	char tmpchan[AST_MAX_BUF] = "";
 
 	LOCAL_USER_ADD(u);
 
@@ -1817,7 +1818,6 @@
 					snprintf(agent, sizeof(agent), "Agent/%s", p->agent);
 
 					if (callbackmode) {
-						char tmpchan[AST_MAX_BUF] = "";
 						int pos = 0;
 						/* Retrieve login chan */
 						for (;;) {



More information about the svn-commits mailing list