Skip to content

Commit

Permalink
All your codebase are belong to us.
Browse files Browse the repository at this point in the history
  • Loading branch information
sberrevoets committed Mar 21, 2024
1 parent 06c5797 commit 88bcab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/NTPClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ final class NTPClient {
}

timer?.invalidate()
print(data)
print(try? NTPPacket(data: data, destinationTime: destinationTime))
print(String(describing: data))
print(String(describing: try? NTPPacket(data: data!, destinationTime: destinationTime)))
guard
let data = data, let PDU = try? NTPPacket(data: data, destinationTime: destinationTime),
PDU.isValidResponse() else
Expand Down

0 comments on commit 88bcab3

Please sign in to comment.