This commit is contained in:
fasiondog 2017-07-23 03:19:22 +08:00
parent 6d45b3c6b2
commit e891b40c0c

View File

@ -215,8 +215,8 @@ string HKU_API utf8_to_gb(const string& szinput) {
iconv(cd, &in, &inlen, &out, &outlen);
iconv_close(cd);
string result(outbuf);
free(oufbuf);
return outbuf;
free(outbuf);
return result;
}
string HKU_API gb_to_utf8(const string& szinput) {