Klaus Demo nginx / 3b30476
style fix Igor Sysoev 14 years ago
10 changed file(s) with 14 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
10771077 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
10781078 "invalid character \"%c\" in \"worker_cpu_affinity\"",
10791079 ch);
1080 return NGX_CONF_ERROR ;
1080 return NGX_CONF_ERROR;
10811081 }
10821082 }
10831083
228228
229229 /* TODO: configurable try number */
230230
231 for (tries = 5 ; tries; tries--) {
231 for (tries = 5; tries; tries--) {
232232 failed = 0;
233233
234234 /* for each listening socket */
445445 || __FreeBSD_version >= 500018
446446 |NOTE_REVOKE
447447 #endif
448 ;
448 ;
449449 kev->data = 0;
450450
451451 } else {
941941 ngx_str_t *value;
942942
943943 if (ecf->connections != NGX_CONF_UNSET_UINT) {
944 return "is duplicate" ;
944 return "is duplicate";
945945 }
946946
947947 if (ngx_strcmp(cmd->name.data, "connections") == 0) {
976976 ngx_event_module_t *module;
977977
978978 if (ecf->use != NGX_CONF_UNSET_UINT) {
979 return "is duplicate" ;
979 return "is duplicate";
980980 }
981981
982982 value = cf->args->elts;
879879
880880 ll = free;
881881
882 for (cl = *free ; cl; cl = cl->next) {
882 for (cl = *free; cl; cl = cl->next) {
883883 if (cl->buf == s) {
884884 *ll = cl->next;
885885 break;
12231223
12241224 umcf = ngx_http_get_module_main_conf(r, ngx_http_upstream_module);
12251225
1226 for ( ;; ) {
1226 for ( ;; ) {
12271227
12281228 rc = ngx_http_parse_header_line(r, &r->upstream->buffer);
12291229
16361636
16371637 quoted = 0;
16381638
1639 for (i = 0 ; i < text->len; i++) {
1639 for (i = 0; i < text->len; i++) {
16401640 ch = text->data[i];
16411641
16421642 if (!quoted) {
254254 ngx_array_t *locations;
255255
256256 /* pointer to the modules' loc_conf */
257 void **loc_conf ;
257 void **loc_conf;
258258
259259 uint32_t limit_except;
260 void **limit_except_loc_conf ;
260 void **limit_except_loc_conf;
261261
262262 ngx_http_handler_pt handler;
263263
400400 \
401401 r->allow_ranges = 0; \
402402 if (r->headers_out.accept_ranges) { \
403 r->headers_out.accept_ranges->hash = 0 ; \
403 r->headers_out.accept_ranges->hash = 0; \
404404 r->headers_out.accept_ranges = NULL; \
405405 }
406406
535535 }
536536
537537 b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len);
538 *b->last++ = ':' ; *b->last++ = ' ' ;
538 *b->last++ = ':'; *b->last++ = ' ';
539539
540540 b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len);
541541 *b->last++ = CR; *b->last++ = LF;
618618 b->last = tail + len;
619619
620620 out[1].buf = b;
621 out[1].next = NULL;;
621 out[1].next = NULL;
622622
623623 if (msie_padding) {
624624 b = ngx_calloc_buf(r->pool);
632632
633633 out[1].next = &out[2];
634634 out[2].buf = b;
635 out[2].next = NULL;;
635 out[2].next = NULL;
636636 }
637637
638638 if (r == r->main) {