Skip to content

Commit

Permalink
change: fixed a typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuizhuhaomeng committed May 21, 2022
1 parent a22dade commit 66132ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ndk_upstream_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ ndk_upstream_list (ngx_conf_t *cf, ngx_command_t *cmd, void *conf)

/* allocate space for all buckets */

bucket = ngx_palloc (cf->pool, buckets * sizeof (ngx_str_t **));
bucket = ngx_palloc (cf->pool, buckets * sizeof (ngx_str_t *));
if (bucket == NULL)
return NGX_CONF_ERROR;

Expand Down

0 comments on commit 66132ca

Please sign in to comment.