Skip to content

Commit 8ffb143

Browse files
authored
Merge pull request #27 from AkihiroSuda/dev
on_vmnet_packets_available: fix arg
2 parents b009524 + 9888f4f commit 8ffb143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static void on_vmnet_packets_available(interface_ref iface, int64_t estim_count,
228228
"r=%lld",
229229
estim_count, MAX_PACKET_COUNT_AT_ONCE, q, r);
230230
for (int i = 0; i < q; i++) {
231-
_on_vmnet_packets_available(iface, q, max_bytes, state);
231+
_on_vmnet_packets_available(iface, MAX_PACKET_COUNT_AT_ONCE, max_bytes, state);
232232
}
233233
if (r > 0)
234234
_on_vmnet_packets_available(iface, r, max_bytes, state);

0 commit comments

Comments
 (0)