Mercurial > hg > nginx-mail
diff src/core/ngx_string.h @ 64:5db440287648 NGINX_0_1_32
nginx 0.1.32
*) Bugfix: the arguments were omitted in the redirects, issued by the
"rewrite" directive; bug appeared in 0.1.29.
*) Feature: the "if" directive supports the captures in regular
expressions.
*) Feature: the "set" directive supports the variables and the captures
of regular expressions.
*) Feature: the "X-Accel-Redirect" response header line is supported in
proxy and FastCGI mode.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 19 May 2005 00:00:00 +0400 |
parents | 0d75d65c642f |
children | 8ad297c88dcb |
line wrap: on
line diff
--- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -59,12 +59,12 @@ typedef struct { * while ZeroMemory() and bzero() are the calls. * icc may also inline several mov's of a zeroed register for small blocks. */ -#define ngx_memzero(buf, n) memset(buf, 0, n) -#define ngx_memset(buf, c, n) memset(buf, c, n) +#define ngx_memzero(buf, n) (void) memset(buf, 0, n) +#define ngx_memset(buf, c, n) (void) memset(buf, c, n) /* msvc and icc compile memcpy() to the inline "rep movs" */ -#define ngx_memcpy(dst, src, n) memcpy(dst, src, n) +#define ngx_memcpy(dst, src, n) (void) memcpy(dst, src, n) #define ngx_cpymem(dst, src, n) ((u_char *) memcpy(dst, src, n)) + (n)