@@ -98,7 +98,7 @@ ngx_http_lua_new_state(ngx_conf_t *cf, ngx_http_lua_main_conf_t *lmcf)
98
98
99
99
lua_getglobal (L , "package" );
100
100
101
- if (! lua_istable (L , -1 )) {
101
+ if (!lua_istable (L , -1 )) {
102
102
ngx_conf_log_error (NGX_LOG_EMERG , cf , 0 ,
103
103
"the \"package\" table does not exist" );
104
104
return NULL ;
@@ -319,16 +319,16 @@ ngx_http_lua_send_header_if_needed(ngx_http_request_t *r,
319
319
{
320
320
ngx_int_t rc ;
321
321
322
- if ( ! ctx -> headers_sent ) {
322
+ if (! ctx -> headers_sent ) {
323
323
if (r -> headers_out .status == 0 ) {
324
324
r -> headers_out .status = NGX_HTTP_OK ;
325
325
}
326
326
327
- if (! ctx -> headers_set && ngx_http_set_content_type (r ) != NGX_OK ) {
327
+ if (!ctx -> headers_set && ngx_http_set_content_type (r ) != NGX_OK ) {
328
328
return NGX_HTTP_INTERNAL_SERVER_ERROR ;
329
329
}
330
330
331
- if (! ctx -> headers_set ) {
331
+ if (!ctx -> headers_set ) {
332
332
ngx_http_clear_content_length (r );
333
333
ngx_http_clear_accept_ranges (r );
334
334
}
@@ -1288,7 +1288,7 @@ ngx_http_lua_set_multi_value_table(lua_State *L, int index)
1288
1288
lua_rawset (L , index ); /* stack: table */
1289
1289
1290
1290
} else {
1291
- if (! lua_istable (L , -1 )) {
1291
+ if (!lua_istable (L , -1 )) {
1292
1292
/* just inserted one value */
1293
1293
lua_createtable (L , 4 , 0 );
1294
1294
/* stack: table key value value table */
0 commit comments