diff --git a/src/send_packets.c b/src/send_packets.c index 5610e3f01..04c122541 100644 --- a/src/send_packets.c +++ b/src/send_packets.c @@ -281,9 +281,8 @@ int send_packets(play_args_t* play_args) } #endif if (ret < 0) { - close(sock); WARNING("send_packets.c: sendto failed with error: %s", strerror(errno)); - return( -1); + break; } rtp_pckts_pcap++;