curl_multibyte: fix a malloc overcalculation
Prior to this change twice as many bytes as necessary were malloc'd when converting wchar to UTF8. To allay confusion in the future I also changed the variable name for the amount of bytes from len to bytes. Closes https://github.com/curl/curl/pull/3209
parent
53db15ba
Please register or sign in to comment