projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WINHTTP] Sync with Wine Staging 1.7.55. CORE-10536
[reactos.git]
/
reactos
/
dll
/
win32
/
winhttp
/
url.c
diff --git
a/reactos/dll/win32/winhttp/url.c
b/reactos/dll/win32/winhttp/url.c
index
07be103
..
c191c13
100644
(file)
--- a/
reactos/dll/win32/winhttp/url.c
+++ b/
reactos/dll/win32/winhttp/url.c
@@
-291,6
+291,7
@@
exit:
if (ret) uc->nScheme = scheme;
heap_free( url_decoded );
heap_free( url_escaped );
+ if (ret) set_last_error( ERROR_SUCCESS );
return ret;
}
@@
-509,5
+510,6
@@
BOOL WINAPI WinHttpCreateUrl( LPURL_COMPONENTS uc, DWORD flags, LPWSTR url, LPDW
}
}
*url = 0;
+ set_last_error( ERROR_SUCCESS );
return TRUE;
}