Skip to content

Commit

Permalink
Update to swift-2.2-SNAPSHOT-2015-12-22-a
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Dec 23, 2015
1 parent 36678f5 commit 1da0cfc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .swift-version
@@ -1 +1 @@
swift-2.2-SNAPSHOT-2015-12-18-a
swift-2.2-SNAPSHOT-2015-12-22-a
4 changes: 2 additions & 2 deletions Sources/Arbiter.swift
Expand Up @@ -134,14 +134,14 @@ class Arbiter<Worker : WorkerType> {

/// Increases the amount of workers by one
func handleTTIN() {
++numberOfWorkers
numberOfWorkers += 1
manageWorkers()
}

/// Decreases the amount of workers by one
func handleTTOU() {
if numberOfWorkers > 1 {
--numberOfWorkers
numberOfWorkers -= 1
manageWorkers()
}
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/HTTPParser.swift
Expand Up @@ -177,7 +177,7 @@ extension String {

while !scanner.isEmpty && scans <= maxSeparator {
components.append(scanner.scan(until: separator))
++scans
scans += 1
}

return components
Expand Down

0 comments on commit 1da0cfc

Please sign in to comment.