mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-24 00:00:04 +08:00
Fix
This commit is contained in:
@@ -616,9 +616,11 @@ static inline NSString* _EncodeBase64(NSString* string) {
|
|||||||
if (_resolutionService) {
|
if (_resolutionService) {
|
||||||
CFNetServiceSetClient(_resolutionService, _NetServiceResolveCallBack, &context);
|
CFNetServiceSetClient(_resolutionService, _NetServiceResolveCallBack, &context);
|
||||||
CFNetServiceScheduleWithRunLoop(_resolutionService, CFRunLoopGetMain(), kCFRunLoopCommonModes);
|
CFNetServiceScheduleWithRunLoop(_resolutionService, CFRunLoopGetMain(), kCFRunLoopCommonModes);
|
||||||
|
} else {
|
||||||
|
GWS_LOG_ERROR(@"Failed creating CFNetService for resolution");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
GWS_LOG_ERROR(@"Failed creating CFNetService");
|
GWS_LOG_ERROR(@"Failed creating CFNetService for registration");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user