comparison src/core/ngx_inet.c @ 16:74b1868dd3cd NGINX_0_1_8

nginx 0.1.8 *) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive.
author Igor Sysoev <http://sysoev.ru>
date Sat, 20 Nov 2004 00:00:00 +0300
parents 46833bd150cb
children 7ca9bdc82b3f
comparison
equal deleted inserted replaced
15:0503cb60c4e4 16:74b1868dd3cd
18 * By the way, the implementation using ngx_sprintf() is faster by 2.5-3 times 18 * By the way, the implementation using ngx_sprintf() is faster by 2.5-3 times
19 * than using FreeBSD libc's snrpintf(). 19 * than using FreeBSD libc's snrpintf().
20 */ 20 */
21 21
22 22
23 ngx_inline static size_t ngx_sprint_uchar(u_char *text, u_char c, size_t len) 23 static ngx_inline size_t ngx_sprint_uchar(u_char *text, u_char c, size_t len)
24 { 24 {
25 size_t n; 25 size_t n;
26 ngx_uint_t c1, c2; 26 ngx_uint_t c1, c2;
27 27
28 n = 0; 28 n = 0;