http://bugs.winehq.org/show_bug.cgi?id=27536
--- Comment #2 from ocean04(a)suomi24.fi 2011-06-25 14:25:38 CDT ---
With these changes to "httprequest.c" POST is working.
- LONG size = SysStringLen(V_BSTR(body)) * sizeof(WCHAR);
+ LONG size = SysStringLen(V_BSTR(body));
- memcpy(ptr, V_BSTR(body), size);
+ char ansistr[size];
+ WideCharToMultiByte(CP_ACP, 0, V_BSTR(body), -1, ansistr, sizeof(ansistr),
NULL, NULL);
+ memcpy(ptr, ansistr, size);
--
Configure bugmail:
http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.