Skip to content

Commit

Permalink
Merge pull request #170 from mayoff/master
Browse files Browse the repository at this point in the history
change all use of ++ to += 1
  • Loading branch information
daltoniam committed Feb 11, 2016
2 parents 7572119 + 363e331 commit e2eea95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/SSLSecurity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public class SSLSecurity {
for serverCert in serverCerts {
for cert in certs {
if cert == serverCert {
trustedCount++
trustedCount += 1
break
}
}
Expand Down
4 changes: 2 additions & 2 deletions Source/WebSocket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public class WebSocket : NSObject, NSStreamDelegate {
var totalSize = 0
for i in 0..<bufferLen {
if buffer[i] == CRLFBytes[k] {
k++
k += 1
if k == 3 {
totalSize = i + 1
break
Expand Down Expand Up @@ -663,7 +663,7 @@ public class WebSocket : NSObject, NSStreamDelegate {
}
if let response = response {
response.bytesLeft -= Int(len)
response.frameCount++
response.frameCount += 1
response.isFin = isFin > 0 ? true : false
if isNew {
readStack.append(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
buildForAnalyzing = "YES"
hideIssues = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6B3E79E519D48B7F006071F7"
Expand Down

0 comments on commit e2eea95

Please sign in to comment.