http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd91013
)
HTTP_HttpSendRequestW was getting invoked with a null verb, default to
author
David McCullough
<davidm@snapgear.com>
Wed, 2 Feb 2005 09:56:35 +0000
(09:56 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 2 Feb 2005 09:56:35 +0000
(09:56 +0000)
the GET method.
dlls/wininet/http.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wininet/http.c
b/dlls/wininet/http.c
index 294e29a588cb2d2ea3961494b76ab50658c9bb20..5b94fee594fa08b21cefb721ec7932487b677681 100644
(file)
--- a/
dlls/wininet/http.c
+++ b/
dlls/wininet/http.c
@@
-1506,10
+1506,11
@@
BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
INTERNET_SetLastError(0);
- /*
We must have a verb
*/
+ /*
if the verb is NULL default to GET
*/
if (NULL == lpwhr->lpszVerb)
{
- goto lend;
+ static const WCHAR szGET[] = { 'G','E','T', 0 };
+ lpwhr->lpszVerb = WININET_strdupW(szGET);
}
/* if we are using optional stuff, we must add the fixed header of that option length */