Skip to content

Commit 8d9f99b

Browse files
committed
fixed crash in control drop
1 parent 036a7fd commit 8d9f99b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngx_rtmp_control_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ ngx_rtmp_control_drop_handler(ngx_http_request_t *r, ngx_rtmp_session_t *s)
184184
{
185185
ngx_rtmp_control_ctx_t *ctx;
186186

187-
ctx = ngx_http_get_module_ctx(s, ngx_rtmp_control_module);
187+
ctx = ngx_http_get_module_ctx(r, ngx_rtmp_control_module);
188188

189189
ngx_rtmp_finalize_session(s);
190190

0 commit comments

Comments
 (0)