From 6716f971242468227973a6c9be67652f7caa8645 Mon Sep 17 00:00:00 2001 From: "Dr. Brandon Wiley" Date: Thu, 1 Oct 2020 14:52:36 -0500 Subject: [PATCH] Fixed data corruption bug --- Sources/TransmissionLinux/Connection.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/TransmissionLinux/Connection.swift b/Sources/TransmissionLinux/Connection.swift index 04213fb..302806d 100644 --- a/Sources/TransmissionLinux/Connection.swift +++ b/Sources/TransmissionLinux/Connection.swift @@ -47,7 +47,7 @@ public class Connection { let bytesRead = try self.socket.read(into: &data) print("3") - buffer.append(data[0..