#46 Added "error" argument to -startWithOptions:

This commit is contained in:
Pierre-Olivier Latour
2014-04-27 19:19:55 -07:00
parent dd3f539f74
commit d404112a88
6 changed files with 39 additions and 34 deletions

View File

@@ -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;
}
}