Klaus Demo nginx / 6994593
Style: NGX_PTR_SIZE replaced with sizeof(void *). The NGX_PTR_SIZE macro is only needed in preprocessor directives where it's not possible to use sizeof(). Maxim Dounin 6 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
409409 hex = 2;
410410 sign = 0;
411411 zero = '0';
412 width = NGX_PTR_SIZE * 2;
412 width = 2 * sizeof(void *);
413413 break;
414414
415415 case 'c':
35023502 /* TODO: it does not merge, it inits only */
35033503
35043504 ngx_conf_merge_size_value(conf->connection_pool_size,
3505 prev->connection_pool_size, NGX_PTR_SIZE * 64);
3505 prev->connection_pool_size, 64 * sizeof(void *));
35063506 ngx_conf_merge_size_value(conf->request_pool_size,
35073507 prev->request_pool_size, 4096);
35083508 ngx_conf_merge_msec_value(conf->client_header_timeout,