[PATCH] ws2_32/tests: Fix memcmp size in test_TransmitFile().

Erich E. Hoover erich.e.hoover at wine-staging.com
Mon Jan 23 09:12:28 CST 2017


On Sun, Jan 22, 2017 at 10:34 AM, Bruno Jesus <00cpxxx at gmail.com> wrote:
> ...
> Hi, you also have to change the sending lengths because it is also
> using +1. I believe this was a strlen/sizeof misfortune, right?

Yes, originally this was using strlen() and I wanted to capture the
NULL byte so that it was easy to look at the data for diagnostics.  At
some point I must have changed it and forgot to remove the "+1", sorry
about that :/

Best,
Erich



More information about the wine-devel mailing list