Skip to content

Commit

Permalink
style(error_log): apply PR suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Chrono <chrono_cpp@me.com>
  • Loading branch information
samugi and chronolaw authored Aug 28, 2023
1 parent 9900228 commit a2cc5bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_lua_kong_log_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ngx_http_lua_kong_error_handler(ngx_http_request_t *r, u_char **buf, size_t *len
return;
}

if (log_append_str.len ) {
if (log_append_str.len) {

p = ngx_snprintf(*buf, len, ", %V", &log_append_str);
len -= p - *buf;
Expand Down

0 comments on commit a2cc5bf

Please sign in to comment.