mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Fix problem where incorrect pointer was checked for nullity.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@371198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -15406,7 +15406,7 @@ static int get_rdnis(struct sip_pvt *p, struct sip_request *oreq, char **name, c
|
|||||||
pbx_builtin_setvar_helper(p->owner, "__SIPRDNISDOMAIN", rdomain);
|
pbx_builtin_setvar_helper(p->owner, "__SIPRDNISDOMAIN", rdomain);
|
||||||
|
|
||||||
if (sip_debug_test_pvt(p))
|
if (sip_debug_test_pvt(p))
|
||||||
ast_verbose("RDNIS for this call is %s (reason %s)\n", exten, reason ? reason_param : "");
|
ast_verbose("RDNIS for this call is %s (reason %s)\n", exten, S_OR(reason_param, ""));
|
||||||
|
|
||||||
/*ast_string_field_set(p, rdnis, rexten);*/
|
/*ast_string_field_set(p, rdnis, rexten);*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user