[PATCH 1/2, try3] urlmon: Improve ObtainUserAgentString conformance to native.

Misha Koshelev mk144210 at bcm.edu
Mon Jul 9 21:49:58 CDT 2007


Changes:
* Left in the FIXME, as there seems to be quite a bit more registry magic that goes into a full
implementation of ObtainUserAgentString which I don't have time to implement right now. However,
I need to have proper length checking so that I can submit my HttpProtocol patches, so rather
than saying this makes it conform I will say it improves conformance (which is true as it will
pass all the tests in the second patch, which is unchanged).

Btw that last one line change gets rid of an extra space at the end of the line that
was already there in the code.

If anyone is interested, all the related registry info is here
http://msdn2.microsoft.com/en-us/library/ms537503.aspx
---
 dlls/urlmon/urlmon_main.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 32abce0e62fd57eee7ccced3eb1ad668b4f467ca.diff
Type: text/x-patch
Size: 805 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070709/98276093/32abce0e62fd57eee7ccced3eb1ad668b4f467ca.bin


More information about the wine-patches mailing list