mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-18 12:25:06 +02:00
fixed compilation
This commit is contained in:
parent
cc632eb6b6
commit
6e55e3a77f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue