diff options
author | cjihrig <cjihrig@gmail.com> | 2019-08-10 14:28:44 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-08-13 10:57:27 -0400 |
commit | 6c9c4fe9918a41d8d907c2b409d3a08992f6f543 (patch) | |
tree | e95df19e701b733f7617e7ffc544cd4632c1d366 /test/test-tcp-bind-error.c | |
parent | b0fd17193e02f9752a6bc7c635fb4c7fe7ed1e70 (diff) | |
download | libuv-6c9c4fe9918a41d8d907c2b409d3a08992f6f543.tar.gz libuv-6c9c4fe9918a41d8d907c2b409d3a08992f6f543.zip |
win: use L'\0' as UTF-16 null terminator
uv__convert_utf8_to_utf16() always null terminates its
UTF-16 output. This commit updates the code to use L'\0'
as the terminator, instead of '\0'.
Fixes: https://github.com/libuv/libuv/issues/2413
PR-URL: https://github.com/libuv/libuv/pull/2419
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'test/test-tcp-bind-error.c')
0 files changed, 0 insertions, 0 deletions