diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-18 12:45:34 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-18 12:45:34 +0000 |
commit | cdf0d0bf9aafab88cf1148f74a1e245775eb40d3 (patch) | |
tree | 065c0c5b9b6d5ba2cb929fda5079e6a0a5fbd21c | |
parent | Do not hijack PNP notifier (diff) | |
download | wintun-cdf0d0bf9aafab88cf1148f74a1e245775eb40d3.tar.xz wintun-cdf0d0bf9aafab88cf1148f74a1e245775eb40d3.zip |
Fix awkward comment style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | wintun.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -324,9 +324,9 @@ TunSendNetBufferLists( void *NbData = NdisGetDataBuffer(Nb, PacketSize, Packet->Data, 1, 0); if (!NbData) { - NdisZeroMemory( - Packet->Data, PacketSize); /* The space for the packet has already been allocated in the ring. Write - null-packet rather than fixing the gap in the ring. */ + /* The space for the packet has already been allocated in the ring. Write a zero-packet rather than + * fixing the gap in the ring. */ + NdisZeroMemory(Packet->Data, PacketSize); DiscardedPacketsCount++; } else |