Skip to content

Commit 524be2e

Browse files
committed
fixed a C compiler warning on FreeBSD introduced in the previous commit.
1 parent 35ba732 commit 524be2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ngx_http_lua_socket_tcp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,8 +4946,7 @@ ngx_http_lua_socket_push_input_data(ngx_http_request_t *r,
49464946

49474947
#if (NGX_DTRACE)
49484948
ngx_http_lua_probe_socket_tcp_receive_done(r, u,
4949-
(const u_char *)
4950-
lua_tostring(L, -1),
4949+
(u_char *) lua_tostring(L, -1),
49514950
size);
49524951
#endif
49534952

0 commit comments

Comments
 (0)