Skip to content

Commit 95bccff

Browse files
committed
Fix
1 parent 780a608 commit 95bccff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mac/main.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ int main(int argc, const char* argv[]) {
338338
[webServer addHandlerForMethod:@"GET"
339339
path:@"/"
340340
requestClass:[GCDWebServerRequest class]
341-
asyncProcessBlock:^(GCDWebServerRequest *request, GCDWebServerCompletionBlock completionBlock) {
341+
asyncProcessBlock:^(GCDWebServerRequest* request, GCDWebServerCompletionBlock completionBlock) {
342342

343343
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
344344
GCDWebServerDataResponse* response = [GCDWebServerDataResponse responseWithData:[@"Hello World!" dataUsingEncoding:NSUTF8StringEncoding] contentType:@"text/plain"];

0 commit comments

Comments
 (0)