Module: wine
Branch: refs/heads/master
Commit: 414d1ddeb92f5fc9b0afb6c28347c7db8e9a6fd5
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=414d1ddeb92f5fc9b0afb6c…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Mon Mar 6 17:31:56 2006 +0000
wininet: Rewrite InternetCreateUrlW.
- 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(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=414d1ddeb92f5fc9b0a…