From 66132ca2a32fb7ff813a6fdde89a9cc26454d47f Mon Sep 17 00:00:00 2001 From: lijunlong Date: Sat, 21 May 2022 15:51:18 +0800 Subject: [PATCH] change: fixed a typo. --- src/ndk_upstream_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ndk_upstream_list.c b/src/ndk_upstream_list.c index 7381777..3a83a25 100644 --- a/src/ndk_upstream_list.c +++ b/src/ndk_upstream_list.c @@ -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;