Skip to content

Commit 2a2008e

Browse files
committed
comment
1 parent 55a0b0e commit 2a2008e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/json_encoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ zend_result php_json_escape_string(
540540

541541
pos += len;
542542
us = (unsigned char)s[pos];
543-
s += pos + 1; /* skip 'us' */
543+
s += pos + 1; /* skip 'us' too */
544544
pos = 0;
545545

546546
bool handled = php_json_printable_ascii_escape(buf, us, options);

0 commit comments

Comments
 (0)