aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/LAN_PCap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/LAN_PCap.cpp')
-rw-r--r--src/libui_sdl/LAN_PCap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/LAN_PCap.cpp b/src/libui_sdl/LAN_PCap.cpp
index 9928ce9..ca3e03a 100644
--- a/src/libui_sdl/LAN_PCap.cpp
+++ b/src/libui_sdl/LAN_PCap.cpp
@@ -303,7 +303,7 @@ void DeInit()
void RXCallback(u_char* blarg, const struct pcap_pkthdr* header, const u_char* data)
{
- while (PCapRXNum > 0);
+ while (RXNum > 0);
if (header->len > 2048-64) return;