Fix receiving SPTPS data in sptps_speed and sptps_test.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 7 Jun 2015 21:14:48 +0000 (23:14 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 7 Jun 2015 21:17:54 +0000 (23:17 +0200)
commita797b4a19235be740c51bcb3bb6ec5de01915f46
tree71f404375582089e6ffa245490a49c8ee948508d
parentd8d1ab4ee1e92ec84fe9ea86eec2396275483a92
Fix receiving SPTPS data in sptps_speed and sptps_test.

The sptps_receive_data() was changed in commit d237efd to only process
one SPTPS record from a stream input. So now we have to put a loop
around it to ensure we process everything.
src/sptps_speed.c
src/sptps_test.c