From 6e55e3a77fe2dab1fcf6f2e4a9c4b1e616738d42 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 4 Oct 2012 14:00:18 +0400 Subject: [PATCH] fixed compilation --- ngx_rtmp_access_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_access_module.c b/ngx_rtmp_access_module.c index ae9a58b..a229aa2 100644 --- a/ngx_rtmp_access_module.c +++ b/ngx_rtmp_access_module.c @@ -395,7 +395,7 @@ ngx_rtmp_access_rule(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) case AF_INET6: case 0: /* all */ - rule6 = ngx_array_push(ascf->rules6); + rule6 = ngx_array_push(&ascf->rules6); if (rule6 == NULL) { return NGX_CONF_ERROR; }