Skip to content

Commit

Permalink
Fixed ATTConnection crash
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Sep 14, 2018
1 parent 00ad2c8 commit 28f280d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/ATTConnection.swift
Expand Up @@ -124,8 +124,6 @@ public final class ATTConnection {
guard let sendOperation = pickNextSendOpcode()
else { return false }

assert(sendOperation.data.count <= Int(maximumTransmissionUnit.rawValue), "Trying to send \(sendOperation.data.count) bytes when MTU is \(maximumTransmissionUnit)")

//log?("Sending data... (\(sendOperation.data.count) bytes)")

try socket.send(sendOperation.data)
Expand Down

0 comments on commit 28f280d

Please sign in to comment.