mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Merged revisions 277261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277261 | tilghman | 2010-07-16 13:04:11 -0500 (Fri, 16 Jul 2010) | 5 lines If variable gotten is not set, will segfault on Solaris. (closes issue #17636) Reported by: bklang ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3060,7 +3060,7 @@ static int action_getvar(struct mansession *s, const struct message *m)
|
||||
}
|
||||
|
||||
astman_start_ack(s, m);
|
||||
astman_append(s, "Variable: %s\r\nValue: %s\r\n\r\n", varname, varval);
|
||||
astman_append(s, "Variable: %s\r\nValue: %s\r\n\r\n", varname, S_OR(varval, ""));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user