Monotone-Parent: 6eba62f428795a0fa79c3f6fa089c1f0bdb79224

Monotone-Revision: bcf3ec198a9fc9a38979133a1a51c6ad69c9537c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-05-18T18:00:11
Monotone-Branch: ca.inverse.sogo
Wolfgang Sourdeau 2010-05-18 18:00:11 +00:00
parent d5a03c0d25
commit 59685ed035
1 changed files with 2 additions and 3 deletions

View File

@ -418,9 +418,8 @@ static BOOL debugLeaks;
if (debugRequests)
{
timeDelta = [[NSDate date] timeIntervalSinceDate: startDate];
[self logWithFormat: [NSString stringWithFormat:
@"request took %f seconds to execute",
timeDelta]];
[self logWithFormat: @"request took %f seconds to execute",
timeDelta];
[resp setHeader: [NSString stringWithFormat: @"%f", timeDelta]
forKey: @"SOGoRequestDuration"];
}