]> git.kaiwu.me - njs.git/commit
Fixed returned value for Buffer.prototype.write* functions.
authorAlexander Borisov <alexander.borisov@nginx.com>
Mon, 19 Oct 2020 12:51:37 +0000 (15:51 +0300)
committerAlexander Borisov <alexander.borisov@nginx.com>
Mon, 19 Oct 2020 12:51:37 +0000 (15:51 +0300)
commit976ed440e983f56a96630caae9103f1cf80345cf
tree2becd46812a65931fdb898013e031fbe615f9b61
parent495c0c1bbf7c952a74ef180d1ff8da8e4983c5f7
Fixed returned value for Buffer.prototype.write* functions.

All Buffer.prototype.write* functions must return offset plus
the number of bytes written.

The issue was introduced in 27bb9caf186c.
src/njs_buffer.c
src/test/njs_unit_test.c