Fix miscellaneous bugs

This commit is contained in:
Charles Magahern
2016-01-01 15:48:34 -08:00
parent 80696898ef
commit 29b70d32ce
4 changed files with 26 additions and 36 deletions
@@ -93,6 +93,8 @@ class WemoServer {
let request = NSMutableURLRequest(URL: url!)
request.HTTPMethod = "POST"
print("Toggle: \(url!.absoluteString)")
let task = _urlSession.dataTaskWithRequest(request) { (data: NSData?, response: NSURLResponse?, error: NSError?) -> Void in
var clientError: NSError? = nil