comparison src/http/modules/ngx_http_uwsgi_module.c @ 7088:f684178faec9

Style.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 10 Aug 2017 22:21:20 +0300
parents 08537eab4f23
children 9e25a5380a21
comparison
equal deleted inserted replaced
7087:47b7ffc3339d 7088:f684178faec9
863 key_len = lcode(&le); 863 key_len = lcode(&le);
864 864
865 lcode = *(ngx_http_script_len_code_pt *) le.ip; 865 lcode = *(ngx_http_script_len_code_pt *) le.ip;
866 skip_empty = lcode(&le); 866 skip_empty = lcode(&le);
867 867
868 for (val_len = 0; *(uintptr_t *) le.ip; val_len += lcode (&le)) { 868 for (val_len = 0; *(uintptr_t *) le.ip; val_len += lcode(&le)) {
869 lcode = *(ngx_http_script_len_code_pt *) le.ip; 869 lcode = *(ngx_http_script_len_code_pt *) le.ip;
870 } 870 }
871 le.ip += sizeof(uintptr_t); 871 le.ip += sizeof(uintptr_t);
872 872
873 if (skip_empty && val_len == 0) { 873 if (skip_empty && val_len == 0) {
988 le.ip = params->lengths->elts; 988 le.ip = params->lengths->elts;
989 989
990 while (*(uintptr_t *) le.ip) { 990 while (*(uintptr_t *) le.ip) {
991 991
992 lcode = *(ngx_http_script_len_code_pt *) le.ip; 992 lcode = *(ngx_http_script_len_code_pt *) le.ip;
993 key_len = (u_char) lcode (&le); 993 key_len = (u_char) lcode(&le);
994 994
995 lcode = *(ngx_http_script_len_code_pt *) le.ip; 995 lcode = *(ngx_http_script_len_code_pt *) le.ip;
996 skip_empty = lcode(&le); 996 skip_empty = lcode(&le);
997 997
998 for (val_len = 0; *(uintptr_t *) le.ip; val_len += lcode(&le)) { 998 for (val_len = 0; *(uintptr_t *) le.ip; val_len += lcode(&le)) {
1016 1016
1017 *e.pos++ = (u_char) (key_len & 0xff); 1017 *e.pos++ = (u_char) (key_len & 0xff);
1018 *e.pos++ = (u_char) ((key_len >> 8) & 0xff); 1018 *e.pos++ = (u_char) ((key_len >> 8) & 0xff);
1019 1019
1020 code = *(ngx_http_script_code_pt *) e.ip; 1020 code = *(ngx_http_script_code_pt *) e.ip;
1021 code((ngx_http_script_engine_t *) & e); 1021 code((ngx_http_script_engine_t *) &e);
1022 1022
1023 *e.pos++ = (u_char) (val_len & 0xff); 1023 *e.pos++ = (u_char) (val_len & 0xff);
1024 *e.pos++ = (u_char) ((val_len >> 8) & 0xff); 1024 *e.pos++ = (u_char) ((val_len >> 8) & 0xff);
1025 1025
1026 while (*(uintptr_t *) e.ip) { 1026 while (*(uintptr_t *) e.ip) {
1027 code = *(ngx_http_script_code_pt *) e.ip; 1027 code = *(ngx_http_script_code_pt *) e.ip;
1028 code((ngx_http_script_engine_t *) & e); 1028 code((ngx_http_script_engine_t *) &e);
1029 } 1029 }
1030 1030
1031 e.ip += sizeof(uintptr_t); 1031 e.ip += sizeof(uintptr_t);
1032 1032
1033 ngx_log_debug4(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 1033 ngx_log_debug4(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,