Skip to content

Commit 21d5e97

Browse files
committed
fix: ngx-releng over 80 columns
1 parent bda7284 commit 21d5e97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ngx_http_lua_socket_tcp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,8 @@ ngx_http_lua_socket_tcp_bind(lua_State *L)
874874
if (n == 3) {
875875
if (!lua_isnumber(L, 3)) {
876876
lua_pushnil(L);
877-
lua_pushliteral(L, "expecting port to be a number but got %s", xxxx);
877+
lua_pushfstring(L, "expecting port to be a
878+
number but got type: %s", luaL_typename(L, 3));
878879
return 2;
879880
}
880881

0 commit comments

Comments
 (0)