Skip to content

Commit

Permalink
Bugfixed: memzero use a wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
yzprofile committed Sep 12, 2013
1 parent 655be02 commit 06de261
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ngx_http_dyups_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,8 @@ ngx_http_dyups_init_process(ngx_cycle_t *cycle)
return NGX_ERROR;
}

ngx_memzero(sh->status, sizeof(ngx_msec_t) * ccf->worker_processes);
ngx_memzero(sh->status,
sizeof(ngx_dyups_status_t) * ccf->worker_processes);

ngx_shmtx_unlock(&shpool->mutex);
return NGX_OK;
Expand Down

0 comments on commit 06de261

Please sign in to comment.