     }
     @inline(__always) private func fire(block: ()->()){
         if let queue = eventQueue {
-            dispatch_sync(queue){
+            dispatch_sync(queue) {
                 block()
             }
         } else {

        pthread_mutex_init(&mutex, nil)
        pthread_cond_init(&cond, nil)
        dispatch_async(dispatch_queue_create("SwiftWebSocket", nil)) {
            for ;; {
                var wait = true
                pthread_mutex_lock(&self.mutex)
                for ws in self.websockets {
                    if ws.dirty {
                        pthread_mutex_unlock(&self.mutex)
                        ws.step()

            return true
        }
        if rd.hasBytesAvailable || frames.count > 0 || inputBytesLength > 0 || outputBytesLength > 0 {
            print("in: \(inputBytesLength): out: \(outputBytesLength)")
            return true
        }
        return false
