Get rid of the useless format string and argument in the Bogus/ manager channelname.

Noted by kpfleming and name Bogus/manager suggested by eliel


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@159976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Michiel van Baak 17 years ago
parent 380e2abf27
commit 8f27432e76

@ -1501,7 +1501,7 @@ static int action_getvar(struct mansession *s, const struct message *m)
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);

Loading…
Cancel
Save