wininet: Rewrite InternetCreateUrlW

Robert Shearman rob at codeweavers.com
Mon Mar 6 11:31:56 CST 2006


ChangeLog:
- Rewrite InternetCreateUrlW to respect the lengths passed in via the
URL_COMPONENTS structure and fall back to a strlenW call when a length
is zero.
- Expand the number of protocols supported when determining
whether the port number should be added.
- Fix a test by passing in the correct length of scheme.

  dlls/wininet/internet.c   |  139 
++++++++++++++++++++++++++-------------------
  dlls/wininet/tests/http.c |   12 ++--
  2 files changed, 86 insertions(+), 65 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: e8b1c29aa29f241ae1c48196a4e7265c60418b27.diff
Type: text/x-patch
Size: 12717 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060306/41c84fe1/e8b1c29aa29f241ae1c48196a4e7265c60418b27.diff


More information about the wine-patches mailing list