Merged revisions 159976 via svnmerge from
[asterisk/asterisk.git] / main / manager.c
index 0676d8d..7076f44 100644 (file)
@@ -1814,7 +1814,7 @@ static int action_getvar(struct mansession *s, const struct message *m)
 
        if (varname[strlen(varname) - 1] == ')') {
                if (!c) {
-                       c = ast_channel_alloc(0, 0, "", "", "", "", "", 0, "Bogus/%p", SENTINEL);
+                       c = ast_channel_alloc(0, 0, "", "", "", "", "", 0, "Bogus/manager");
                        if (c) {
                                ast_func_read(c, (char *) varname, workspace, sizeof(workspace));
                                ast_channel_free(c);