mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-19 17:41:08 +02:00
Update ngx_rtmp_handler.c
fixed compilation with nginx 1.7.12
This commit is contained in:
parent
f62a083806
commit
809f094124
|
@ -558,7 +558,11 @@ ngx_rtmp_send(ngx_event_t *wev)
|
||||||
ngx_del_event(wev, NGX_WRITE_EVENT, 0);
|
ngx_del_event(wev, NGX_WRITE_EVENT, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (nginx_version >= 1007012)
|
||||||
|
ngx_event_process_posted((ngx_cycle_t *) ngx_cycle,(ngx_queue_t *) &s->posted_dry_events);
|
||||||
|
#else
|
||||||
ngx_event_process_posted((ngx_cycle_t *) ngx_cycle, &s->posted_dry_events);
|
ngx_event_process_posted((ngx_cycle_t *) ngx_cycle, &s->posted_dry_events);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue