re-initialize len with each while-loop pass.

pull/14/head
Tom Early 7 years ago
parent e8191532fd
commit cccbe1b262

@ -276,7 +276,7 @@ static void readFrom20000()
while (keep_running) {
written_to_q = false;
len = 0;
tv.tv_sec = 0;
tv.tv_usec = WAIT_FOR_PACKETS;
FD_ZERO (&readfd);

Loading…
Cancel
Save

Powered by TurnKey Linux.