Commit ceea01b1 authored by Bernhard Übelacker's avatar Bernhard Übelacker Committed by Alexandre Julliard

wininet: Add missing assignment of return value.

parent ba4681e7
...@@ -1225,7 +1225,7 @@ static void InternetCreateUrlA_test(void) ...@@ -1225,7 +1225,7 @@ static void InternetCreateUrlA_test(void)
urlComp.dwExtraInfoLength = strlen(urlComp.lpszExtraInfo); urlComp.dwExtraInfoLength = strlen(urlComp.lpszExtraInfo);
len = 256; len = 256;
szUrl = HeapAlloc(GetProcessHeap(), 0, len); szUrl = HeapAlloc(GetProcessHeap(), 0, len);
InternetCreateUrlA(&urlComp, ICU_ESCAPE, szUrl, &len); ret = InternetCreateUrlA(&urlComp, ICU_ESCAPE, szUrl, &len);
ok(ret, "Expected success\n"); ok(ret, "Expected success\n");
ok(len == strlen(CREATE_URL13), "Got len %lu\n", len); ok(len == strlen(CREATE_URL13), "Got len %lu\n", len);
ok(!strcmp(szUrl, CREATE_URL13), "Expected \"%s\", got \"%s\"\n", CREATE_URL13, szUrl); ok(!strcmp(szUrl, CREATE_URL13), "Expected \"%s\", got \"%s\"\n", CREATE_URL13, szUrl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment