mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
Fix GetVar manager action result (bug #5275)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -704,7 +704,7 @@ static int action_getvar(struct mansession *s, struct message *m)
|
||||
ast_mutex_unlock(&c->lock);
|
||||
ast_mutex_lock(&s->lock);
|
||||
ast_cli(s->fd, "Response: Success\r\n"
|
||||
"%s: %s\r\n" ,varname,varval2);
|
||||
"Variable: %s\r\nValue: %s\r\n" ,varname,varval2);
|
||||
if (id && !ast_strlen_zero(id))
|
||||
ast_cli(s->fd, "ActionID: %s\r\n",id);
|
||||
ast_cli(s->fd, "\r\n");
|
||||
|
||||
Reference in New Issue
Block a user