iphlpapi: Fix adjusting data pointer after an ICMP reply.
commit9ef55abc9fbd597904e8144eb7e5a53904662b4c
authorGabriel Ivăncescu <gabrielopcode@gmail.com>
Mon, 23 Nov 2020 13:47:43 +0000 (23 15:47 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 3 Dec 2020 19:18:38 +0000 (3 20:18 +0100)
treea736627f7440c8a26b8fa194833b92bbaf4f3d9e
parent7eafc71416d5b5b9e0302e0859f988dfe534b937
iphlpapi: Fix adjusting data pointer after an ICMP reply.

The code above it already sets endbuf to the beginning of the last data
added. On a new reply, endbuf is decremented to make space for the new
data. There's no reason to adjust it again for the old data after it has
already been set.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/iphlpapi/icmp.c