(fix) properly terminate dictionary initialization

pull/214/head
Ludovic Marcotte 2016-06-14 08:31:37 -04:00
parent 72731e84f1
commit ff65ba88ad
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@
values = [NSDictionary dictionaryWithObjectsAndKeys:
[user cn], @"Cn",
[user systemEmail], @"SystemEmail"];
[user systemEmail], @"SystemEmail", nil];
reason = [values keysWithFormat: [self labelForKey: @"Cannot access resource: \"%{Cn} %{SystemEmail}\""]];
return [NSException exceptionWithHTTPStatus:403 reason: reason];
}