]> git.tue.mpg.de Git - paraslash.git/commit
udp_send.c: Send EOF packet only once.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 22 Dec 2015 23:52:18 +0000 (23:52 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 4 Apr 2016 22:41:12 +0000 (00:41 +0200)
commitab51fc9c72dc51e76ccabbc150413c8031751436
tree16e4d1e7714ffc612726030d552ff8bf83a621d0
parent21cbf716920892288bf0d7f29756cd915ccb1157
udp_send.c: Send EOF packet only once.

Currently this can be sent many times, which is pointless and might
confuse clients. This patch adds a bool member to struct udp_target
to keep track whether the EOF packet has been sent.
udp_send.c