Skip to content

Commit

Permalink
Merge pull request #15 from itpp16/patch-2
Browse files Browse the repository at this point in the history
Update ngx_rtmp_handler.c
  • Loading branch information
Sergey committed Jul 2, 2015
2 parents 889e6af + 809f094 commit 1e5b135
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ngx_rtmp_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down

0 comments on commit 1e5b135

Please sign in to comment.