diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-02-01 19:20:07 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-02-01 19:20:07 +0300 |
commit | 6e67bee0f4f96ad0a7d1a231dfdae8431714c66a (patch) | |
tree | c422698ab3b7828f7346ca18e1f5a1b8305ed769 /test/nxt_term_parse_unit_test.c | |
parent | 8942550b13515e54aff9d682bec3da45ade26e18 (diff) | |
download | unit-6e67bee0f4f96ad0a7d1a231dfdae8431714c66a.tar.gz unit-6e67bee0f4f96ad0a7d1a231dfdae8431714c66a.tar.bz2 |
nxt_str_t changes.
Diffstat (limited to 'test/nxt_term_parse_unit_test.c')
-rw-r--r-- | test/nxt_term_parse_unit_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nxt_term_parse_unit_test.c b/test/nxt_term_parse_unit_test.c index 539d74b9..818d0e19 100644 --- a/test/nxt_term_parse_unit_test.c +++ b/test/nxt_term_parse_unit_test.c @@ -44,7 +44,7 @@ nxt_term_parse_unit_test(nxt_thread_t *thr) for (i = 0; i < nxt_nitems(terms); i++) { s = &terms[i].string; - val = nxt_term_parse(s->data, s->len, terms[i].is_sec); + val = nxt_term_parse(s->start, s->length, terms[i].is_sec); if (val != terms[i].value) { nxt_log_alert(thr->log, |