diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-17 15:31:07 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-17 15:31:07 +0200 |
commit | c501fe69366175312b39f7eead949f9b27c03ef6 (patch) | |
tree | ac9fa5bbdd3eea2547a0414d15dd7d03a5a04e24 /sys/src/cmd/html2ms.c | |
parent | 0b3ad2b562a91608a433e49baa4633dcb7aa32e9 (diff) |
factotum: fix mschap password (utf-8 to utf-16) conversion
using strlen() gives the number of bytes in the utf-8 string.
could use utflen() instead, but decided to just go in a loop
and get rid of the counters all together.
UTF-16 surrogates are not handled.
Diffstat (limited to 'sys/src/cmd/html2ms.c')
0 files changed, 0 insertions, 0 deletions