wininet: Fix InternetGetCookie with no matching cookies.
authorRobert Shearman <rob@codeweavers.com>
Thu, 9 Mar 2006 15:20:24 +0000 (15:20 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 9 Mar 2006 21:48:08 +0000 (22:48 +0100)
commit1b8f7f06058b534e471be0df1763766c8185bf8b
treed72ee6d3005ab2a606a25537d0fcbd19df819af6
parente4adc07333da62a6498e9c0e95fbb2dc2ff58f50
wininet: Fix InternetGetCookie with no matching cookies.

Return FALSE and an error of ERROR_NO_MORE_ITEMS from
InternetGetCookie when there are no cookies for the specified
domain. This fixes a bug in sending a blank cookie to HTTP servers.
dlls/wininet/cookie.c
dlls/wininet/tests/internet.c