diff options
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r-- | src/nxt_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h index 6fce9284..e5611e35 100644 --- a/src/nxt_string.h +++ b/src/nxt_string.h @@ -136,7 +136,7 @@ nxt_str_null(str) \ NXT_EXPORT nxt_str_t *nxt_str_alloc(nxt_mp_t *mp, size_t length); NXT_EXPORT nxt_str_t *nxt_str_dup(nxt_mp_t *mp, nxt_str_t *dst, const nxt_str_t *src); -NXT_EXPORT char *nxt_str_copy(nxt_mp_t *mp, const nxt_str_t *src); +NXT_EXPORT char *nxt_str_cstrz(nxt_mp_t *mp, const nxt_str_t *src); #define \ |