Mercurial > hg > nginx
comparison src/core/ngx_conf_file.c @ 2214:853fc7a46792
fix types
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 26 Aug 2008 21:04:06 +0000 |
parents | 01b71aa095cc |
children | d17c487ddb52 |
comparison
equal
deleted
inserted
replaced
2213:8cc552c91cd2 | 2214:853fc7a46792 |
---|---|
43 }; | 43 }; |
44 | 44 |
45 | 45 |
46 /* The ten fixed arguments */ | 46 /* The ten fixed arguments */ |
47 | 47 |
48 static int argument_number[] = { | 48 static ngx_uint_t argument_number[] = { |
49 NGX_CONF_NOARGS, | 49 NGX_CONF_NOARGS, |
50 NGX_CONF_TAKE1, | 50 NGX_CONF_TAKE1, |
51 NGX_CONF_TAKE2, | 51 NGX_CONF_TAKE2, |
52 NGX_CONF_TAKE3, | 52 NGX_CONF_TAKE3, |
53 NGX_CONF_TAKE4, | 53 NGX_CONF_TAKE4, |
431 | 431 |
432 static ngx_int_t | 432 static ngx_int_t |
433 ngx_conf_read_token(ngx_conf_t *cf) | 433 ngx_conf_read_token(ngx_conf_t *cf) |
434 { | 434 { |
435 u_char *start, ch, *src, *dst; | 435 u_char *start, ch, *src, *dst; |
436 int len; | 436 size_t len; |
437 int found, need_space, last_space, sharp_comment, variable; | |
438 int quoted, s_quoted, d_quoted; | |
439 ssize_t n; | 437 ssize_t n; |
438 ngx_uint_t found, need_space, last_space, sharp_comment, variable; | |
439 ngx_uint_t quoted, s_quoted, d_quoted; | |
440 ngx_str_t *word; | 440 ngx_str_t *word; |
441 ngx_buf_t *b; | 441 ngx_buf_t *b; |
442 | 442 |
443 found = 0; | 443 found = 0; |
444 need_space = 0; | 444 need_space = 0; |