Fix handling partial SPTPS messages in sptps_test.
authorMike Sullivan <mksully22@gmail.com>
Mon, 26 Mar 2018 19:19:04 +0000 (14:19 -0500)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 27 Mar 2018 20:47:01 +0000 (22:47 +0200)
src/sptps_test.c

index 9b7c289b5dc3bb8ff36fbf8bfc0844189390311c..0f75c242a0bedf07c579e63718f9d44853bd4b07 100644 (file)
@@ -445,8 +445,6 @@ int main(int argc, char *argv[]) {
                                        if(!datagram) {
                                                return 1;
                                        }
-                               } else {
-                                       break;
                                }
 
                                bufp += done;