Skip to content

Commit c2f68a4

Browse files
committed
style: minor coding style fixes suggested by our ngx-releng tool.
1 parent 99a5ba2 commit c2f68a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ngx_http_lua_util.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,8 @@ ngx_http_lua_run_thread(lua_State *L, ngx_http_request_t *r,
10551055
* check if coroutine.resume or coroutine.yield called
10561056
* lua_yield()
10571057
*/
1058-
switch(ctx->co_op) {
1058+
switch (ctx->co_op) {
1059+
10591060
case NGX_HTTP_LUA_USER_CORO_NOP:
10601061
dd("hit! it is the API yield");
10611062

@@ -2169,8 +2170,7 @@ ngx_http_lua_handle_exec(lua_State *L, ngx_http_request_t *r,
21692170
#endif
21702171

21712172
rc = ngx_http_named_location(r, &ctx->exec_uri);
2172-
if (rc == NGX_ERROR || rc >= NGX_HTTP_SPECIAL_RESPONSE)
2173-
{
2173+
if (rc == NGX_ERROR || rc >= NGX_HTTP_SPECIAL_RESPONSE) {
21742174
return rc;
21752175
}
21762176

0 commit comments

Comments
 (0)