Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arut committed Oct 7, 2013
1 parent 97d144a commit f8588a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ngx_rtmp_exec_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ ngx_rtmp_exec_close_stream(ngx_rtmp_session_t *s, ngx_rtmp_close_stream_t *v)
ngx_rtmp_exec_kill(e, e->kill_signal);
}

ppctx = &eacf->pull[ngx_hash_key(pctx->name.data, pctx->name.len) &
ppctx = &eacf->pull[ngx_hash_key(pctx->name.data, pctx->name.len) %
eacf->nbuckets];

for (; *ppctx; ppctx = &(*ppctx)->next) {
Expand Down Expand Up @@ -828,7 +828,7 @@ ngx_rtmp_exec_init_pull_ctx(ngx_rtmp_session_t *s,

len = ngx_strlen(name);

ppctx = &eacf->pull[ngx_hash_key(name, len) & eacf->nbuckets];
ppctx = &eacf->pull[ngx_hash_key(name, len) % eacf->nbuckets];

for (; *ppctx; ppctx = &(*ppctx)->next) {
pctx = *ppctx;
Expand Down

0 comments on commit f8588a4

Please sign in to comment.