Update ngx_rtmp_handler.c

fixed compilation with nginx 1.7.12
This commit is contained in:
itpp16 2015-04-09 12:47:32 +02:00
parent f62a083806
commit 809f094124

View file

@ -558,7 +558,11 @@ ngx_rtmp_send(ngx_event_t *wev)
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);
#endif
}