rpcrt4: Fix typo in unescape_string_binding_componentW.

string_binding is of type "const WCHAR *" so we shouldn't be calling
strlen on it, we should be calling strlenW on it.
This commit is contained in:
Rob Shearman 2008-09-05 22:08:42 +01:00 committed by Alexandre Julliard
parent 170dd5ff8d
commit f2e47cc2a2
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ static RPC_WSTR unescape_string_binding_componentW(
{
RPC_WSTR component, p;
if (len == -1) len = strlen((const char *)string_binding);
if (len == -1) len = strlenW(string_binding);
component = HeapAlloc(GetProcessHeap(), 0, (len + 1) * sizeof(*component));
if (!component) return NULL;