aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_mgcp.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-01 19:20:46 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-01 19:20:46 +0000
commit98cbdc7b3c2b1c3e0184d30f7b3c48e703c06e6e (patch)
treecdfc30ab8c71535d91b2f6486a4ad42838bdf612 /channels/chan_mgcp.c
parentc3751a767534313fd94de14368c5691380ed4f74 (diff)
- 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
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r--channels/chan_mgcp.c2
1 files changed, 1 insertions, 1 deletions
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")) {