From a4d55c0ff5cbe09f9b7564c6f48bbb8eea27c70e Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 12 Sep 2012 11:13:49 +0400 Subject: [PATCH] fixed compilation --- ngx_rtmp_enotify_module.c | 3 --- ngx_rtmp_notify_module.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/ngx_rtmp_enotify_module.c b/ngx_rtmp_enotify_module.c index 3144d09..7ef83a1 100644 --- a/ngx_rtmp_enotify_module.c +++ b/ngx_rtmp_enotify_module.c @@ -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) { diff --git a/ngx_rtmp_notify_module.c b/ngx_rtmp_notify_module.c index 6bd3cbb..2f5b705 100644 --- a/ngx_rtmp_notify_module.c +++ b/ngx_rtmp_notify_module.c @@ -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 */