http://bugs.winehq.org/show_bug.cgi?id=11640
--- Comment #14 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-06-12 21:11:05 --- (In reply to comment #13)
(In reply to comment #11)
Created an attachment (id=13937)
--> (http://bugs.winehq.org/attachment.cgi?id=13937) [details] [details]
avoid updating lpFrom on connected sockets
Looks good. As Austin said, slap on a test case and send to wine-patches.
Thanks.
I can't see a way to automatically test for the bug which my patch fixes, since hitting the default case when switching on uninitialized data doesn't modify the value-result argument lpFrom or change the return value, only a side effect occurs which is printing the fixme.
My current test can only show that there's problem by observing the erroneous fixme messages when run interactively, not a pass fail.
But, I can show in the test that lpFrom is ignored on a connected socket - confirming what msdn says.