mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-05 00:04:17 +08:00
#46 Added "error" argument to -startWithOptions:
This commit is contained in:
@@ -359,7 +359,7 @@ int main(int argc, const char* argv[]) {
|
||||
[options setObject:GCDWebServerAuthenticationMethod_DigestAccess forKey:GCDWebServerOption_AuthenticationMethod];
|
||||
}
|
||||
}
|
||||
if ([webServer runWithOptions:options]) {
|
||||
if ([webServer runWithOptions:options error:NULL]) {
|
||||
result = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user