Commit a91cc089 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

ntdll: Remove redundant assignment in fixup_icmp_over_dgram().

parent 6b75f930
......@@ -711,7 +711,6 @@ static ssize_t fixup_icmp_over_dgram( struct msghdr *hdr, union unix_sockaddr *u
icmp_h->checksum = chksum( (BYTE *)icmp_h, recv_len - sizeof(ip_h) );
}
}
ip_h.checksum = 0;
ip_h.checksum = chksum( (BYTE *)&ip_h, sizeof(ip_h) );
memcpy( buf, &ip_h, min( sizeof(ip_h), buf_len ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment