From 98cbdc7b3c2b1c3e0184d30f7b3c48e703c06e6e Mon Sep 17 00:00:00 2001 From: oej Date: Mon, 1 Jan 2007 19:20:46 +0000 Subject: - Implement error handling in ast_append_ha - Use this in chan_sip - Document ha functions in acl.c git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49092 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_mgcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_mgcp.c') diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 2e0833b5f..bdb704754 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -3638,7 +3638,7 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v) } } else if (!strcasecmp(v->name, "permit") || !strcasecmp(v->name, "deny")) { - gw->ha = ast_append_ha(v->name, v->value, gw->ha); + gw->ha = ast_append_ha(v->name, v->value, gw->ha, NULL); } else if (!strcasecmp(v->name, "port")) { gw->addr.sin_port = htons(atoi(v->value)); } else if (!strcasecmp(v->name, "context")) { -- cgit v1.2.3