From b342d65ad6d267170b0320b6e250d0e788ebae4f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 24 Dec 2010 14:05:56 -0500 Subject: [PATCH] Fix formatting that Xcode bodged. --- Source/NetworkCallbackController.mm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/NetworkCallbackController.mm b/Source/NetworkCallbackController.mm index 7356912..5ba1ac0 100644 --- a/Source/NetworkCallbackController.mm +++ b/Source/NetworkCallbackController.mm @@ -73,9 +73,9 @@ void NetworkCallbackController::OnSocketAccept(CFSocketRef socket, // Set the client of the read stream. CFOptionFlags readFlags = kCFStreamEventOpenCompleted | - kCFStreamEventHasBytesAvailable | - kCFStreamEventErrorOccurred | - kCFStreamEventEndEncountered; + kCFStreamEventHasBytesAvailable | + kCFStreamEventErrorOccurred | + kCFStreamEventEndEncountered; if (CFReadStreamSetClient(readStream, readFlags, &NetworkCallbackController::ReadStreamCallback, &context)) // Schedule in run loop to do asynchronous communication with the engine. CFReadStreamScheduleWithRunLoop(readStream, runLoop_, kCFRunLoopCommonModes); @@ -90,9 +90,9 @@ void NetworkCallbackController::OnSocketAccept(CFSocketRef socket, // Set the client of the write stream. CFOptionFlags writeFlags = kCFStreamEventOpenCompleted | - kCFStreamEventCanAcceptBytes | - kCFStreamEventErrorOccurred | - kCFStreamEventEndEncountered; + kCFStreamEventCanAcceptBytes | + kCFStreamEventErrorOccurred | + kCFStreamEventEndEncountered; if (CFWriteStreamSetClient(writeStream, writeFlags, &NetworkCallbackController::WriteStreamCallback, &context)) // Schedule it in the run loop to receive error information. CFWriteStreamScheduleWithRunLoop(writeStream, runLoop_, kCFRunLoopCommonModes); -- 2.43.5