comparison src/core/ngx_inet.c @ 180:4cd3e70c4d60 NGINX_0_3_37

nginx 0.3.37 *) Feature: the "limit_except" directive. *) Feature: the "if" directive supports the "!~", "!~*", "-f", and "!-f" operators. *) Feature: the ngx_http_perl_module supports the $r->request_body method. *) Bugfix: in the ngx_http_addition_filter_module.
author Igor Sysoev <http://sysoev.ru>
date Fri, 07 Apr 2006 00:00:00 +0400
parents 82d695e3d662
children d2ae1c9f1fd3
comparison
equal deleted inserted replaced
179:654cbdc0401d 180:4cd3e70c4d60
19 * By the way, the implementation using ngx_sprintf() is faster by 2.5-3 times 19 * By the way, the implementation using ngx_sprintf() is faster by 2.5-3 times
20 * than using FreeBSD libc's snprintf(). 20 * than using FreeBSD libc's snprintf().
21 */ 21 */
22 22
23 23
24 static 24 static ngx_inline size_t
25 ngx_inline size_t ngx_sprint_uchar(u_char *text, u_char c, size_t len) 25 ngx_sprint_uchar(u_char *text, u_char c, size_t len)
26 { 26 {
27 size_t n; 27 size_t n;
28 ngx_uint_t c1, c2; 28 ngx_uint_t c1, c2;
29 29
30 n = 0; 30 n = 0;