diff options
Diffstat (limited to '')
-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 e5611e35..56dc18d7 100644 --- a/src/nxt_string.h +++ b/src/nxt_string.h @@ -158,7 +158,7 @@ nxt_str_eq(s, p, _length) \ #define \ nxt_str_start(s, p, _length) \ - (((s)->length > _length) && (nxt_memcmp((s)->start, p, _length) == 0)) + (((s)->length >= _length) && (nxt_memcmp((s)->start, p, _length) == 0)) #define \ |