[svn-commits] mvanbaak: branch 1.4 r159976 - /branches/1.4/main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 1 10:08:37 CST 2008


Author: mvanbaak
Date: Mon Dec  1 10:08:36 2008
New Revision: 159976

URL: http://svn.digium.com/view/asterisk?view=rev&rev=159976
Log:
Get rid of the useless format string and argument in the Bogus/ manager channelname.
Noted by kpfleming and name Bogus/manager suggested by eliel

Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=159976&r1=159975&r2=159976
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Mon Dec  1 10:08:36 2008
@@ -1501,7 +1501,7 @@
 	if (varname[strlen(varname) - 1] == ')') {
 		char *copy = ast_strdupa(varname);
 		if (!c) {
-			c = ast_channel_alloc(0, 0, "", "", "", "", "", 0, "Bogus/%p", (char *) NULL);
+			c = ast_channel_alloc(0, 0, "", "", "", "", "", 0, "Bogus/manager");
 			if (c) {
 				ast_func_read(c, copy, workspace, sizeof(workspace));
 				ast_channel_free(c);




More information about the svn-commits mailing list