From 95bccff2f7fd787cb3efb7a84157894180943204 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Latour Date: Thu, 9 Oct 2014 10:16:13 -0700 Subject: [PATCH] Fix --- Mac/main.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/main.m b/Mac/main.m index 552d1b7b..cabe495a 100644 --- a/Mac/main.m +++ b/Mac/main.m @@ -338,7 +338,7 @@ int main(int argc, const char* argv[]) { [webServer addHandlerForMethod:@"GET" path:@"/" requestClass:[GCDWebServerRequest class] - asyncProcessBlock:^(GCDWebServerRequest *request, GCDWebServerCompletionBlock completionBlock) { + asyncProcessBlock:^(GCDWebServerRequest* request, GCDWebServerCompletionBlock completionBlock) { dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ GCDWebServerDataResponse* response = [GCDWebServerDataResponse responseWithData:[@"Hello World!" dataUsingEncoding:NSUTF8StringEncoding] contentType:@"text/plain"];