aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-05-19 13:25:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-05-19 13:25:22 +0000
commite31e90b3e10ca2afafccae9a57910133d93b2d37 (patch)
tree7177a8f48a555733b170bfcad4e9e7072ea8c027 /src/core/ngx_string.h
parentb1a641cafa2ef042035155f68e5f571303853dfc (diff)
downloadnginx-e31e90b3e10ca2afafccae9a57910133d93b2d37.tar.gz
nginx-e31e90b3e10ca2afafccae9a57910133d93b2d37.zip
nginx-0.1.32-RELEASE importrelease-0.1.32
*) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; the bug had 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.
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r--src/core/ngx_string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index 24a237903..c72a776dc 100644
--- 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)