mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-20 18:01:08 +02:00
fixed compilation
This commit is contained in:
parent
6b0dddbcc0
commit
a4d55c0ff5
|
@ -169,14 +169,11 @@ static ngx_int_t
|
|||
ngx_rtmp_enotify_exec(ngx_rtmp_session_t *s, ngx_rtmp_enotify_conf_t *ec)
|
||||
{
|
||||
#ifndef NGX_WIN32
|
||||
ngx_rtmp_enotify_ctx_t *ctx;
|
||||
int pid;
|
||||
ngx_str_t *arg;
|
||||
char **args;
|
||||
ngx_uint_t n;
|
||||
|
||||
ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_enotify_module);
|
||||
|
||||
pid = fork();
|
||||
|
||||
switch (pid) {
|
||||
|
|
|
@ -313,14 +313,12 @@ ngx_rtmp_notify_done_create(ngx_rtmp_session_t *s, void *arg,
|
|||
{
|
||||
ngx_rtmp_notify_done_t *ds = arg;
|
||||
|
||||
ngx_rtmp_notify_app_conf_t *nacf;
|
||||
ngx_chain_t *hl, *cl, *pl;
|
||||
ngx_buf_t *b;
|
||||
size_t cbname_len, name_len, args_len;
|
||||
ngx_str_t *addr_text;
|
||||
ngx_rtmp_notify_ctx_t *ctx;
|
||||
|
||||
nacf = ngx_rtmp_get_module_app_conf(s, ngx_rtmp_notify_module);
|
||||
ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_notify_module);
|
||||
|
||||
/* common variables */
|
||||
|
|
Loading…
Reference in a new issue