Skip to content

Commit 77347e3

Browse files
committed
misc(*) various minor fixes
Extracted from other branches in progress.
1 parent b8aae2c commit 77347e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/common/lua/ngx_wasm_lua_resolver.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static const char *DNS_SOLVING_SCRIPT = ""
5656
" resolvConf = { \n"
5757
" 'nameserver ' .. nameserver, \n"
5858
" 'options timeout:' .. timeout, \n"
59-
#if 1
59+
#if 0
6060
" 'options attempts:1', \n"
6161
" }, \n"
6262
" order = { 'A' }, \n"
@@ -101,7 +101,7 @@ ngx_wasm_lua_resolver_error_handler(ngx_wasm_lua_ctx_t *lctx)
101101

102102
dd("enter");
103103

104-
#if (DDEBUG)
104+
#if (NGX_DEBUG)
105105
if (!lctx->cancelled) {
106106
ngx_wa_assert(lctx->co_ctx->co_status == NGX_HTTP_LUA_CO_DEAD);
107107
}

util/changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ OUT="$(git --no-pager log --format=oneline $LATEST_TAG..)"
2525
if [[ -n $OUT ]]; then
2626
# Only show user-facing commits. Include refactor(), misc() and use best
2727
# judgement whether or not to include them in the final release
28-
# description).
28+
# description.
2929
echo "$OUT" \
3030
| sed "s/^[^ ]* //" \
3131
| $(which grep) -v -E '^(chore|tests|style|hotfix|docs)'

0 commit comments

Comments
 (0)