Skip to content

Commit 19e39f8

Browse files
committed
chore: code style
1 parent 319345e commit 19e39f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngx_stream_lua_module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,8 +1151,8 @@ key_log_callback(const ngx_ssl_conn_t *ssl_conn, const char *line)
11511151
return;
11521152
}
11531153

1154-
(void) ngx_write_fd(ssl_key_log->fd, line, ngx_strlen(line));
1155-
(void) ngx_write_fd(ssl_key_log->fd, "\n", 1);
1154+
(void) ngx_write_fd(ssl_key_log->fd, (void *) line, ngx_strlen(line));
1155+
(void) ngx_write_fd(ssl_key_log->fd, (void *) "\n", 1);
11561156
}
11571157

11581158

0 commit comments

Comments
 (0)