Skip to content

Commit

Permalink
fixed a small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
slact committed Jan 25, 2011
1 parent f485755 commit 5688154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ngx_http_push_module.c
Expand Up @@ -15,7 +15,7 @@
//emergency garbage collecting goodness;
ngx_http_push_channel_queue_t channel_gc_sentinel;

static void ngx_http_push_clean_timeouted_subscribter(ngx_event_t *ev)
static void ngx_http_push_clean_timeouted_subscriber(ngx_event_t *ev)
{
ngx_http_push_subscriber_t *subscriber = NULL;
ngx_http_request_t *r = NULL;
Expand Down Expand Up @@ -433,7 +433,7 @@ static ngx_int_t ngx_http_push_subscriber_handler(ngx_http_request_t *r) {

ngx_memzero(&subscriber->event, sizeof(subscriber->event));
if (cf->subscriber_timeout > 0) {
subscriber->event.handler = ngx_http_push_clean_timeouted_subscribter;
subscriber->event.handler = ngx_http_push_clean_timeouted_subscriber;
subscriber->event.data = subscriber;
subscriber->event.log = r->connection->log;
ngx_add_timer(&subscriber->event, cf->subscriber_timeout * 1000);
Expand Down

0 comments on commit 5688154

Please sign in to comment.