diff options
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 73ed43a95..9171ea073 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -46,7 +46,7 @@ typedef struct { * msvc and icc compile memset() to inline "rep stos" * while ZeroMemory and bzero are calls. */ -#define ngx_memzero(buf, n) memset(buf, n, 0) +#define ngx_memzero(buf, n) memset(buf, 0, n) /* msvc and icc compile memcpy() to inline "rep movs" */ #define ngx_memcpy(dst, src, n) memcpy(dst, src, n) |