Skip to content

Commit

Permalink
Bugfix: fixed issues/204 that syntax error has occured
Browse files Browse the repository at this point in the history
  • Loading branch information
u5surf committed Aug 27, 2021
1 parent 04dda8c commit 393bbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_vhost_traffic_status_string.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ ngx_http_vhost_traffic_status_escape_prometheus(ngx_pool_t *pool, ngx_str_t *buf

/* Find the first character that needs to be escaped */
while (pa < last) {
if isascii(*pa) {
if (isascii(*pa)) {
if (*pa == '"' || *pa == '\\' || *pa == '\n') {
break;
} else {
Expand Down

0 comments on commit 393bbe9

Please sign in to comment.