diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-04-12 12:02:46 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-04-12 12:02:46 +0400 |
commit | d63104eea485f72f07c0eed0886890c1090c1f62 (patch) | |
tree | 922d1ba70db962fc5f9d6d57066b45bcf95c8104 /src/core/ngx_conf_file.c | |
parent | d80bcbcd0fef16a9bf5602fcba5ffa87f5074919 (diff) |
use memmove() in appropriate places
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r-- | src/core/ngx_conf_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index 83c107329..689b7e7a2 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -507,7 +507,7 @@ ngx_conf_read_token(ngx_conf_t *cf) } if (len) { - ngx_memcpy(b->start, start, len); + ngx_memmove(b->start, start, len); } size = (ssize_t) (file_size - cf->conf_file->file.offset); |