mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-16 18:58:50 +00:00
We now show the MISMATCH messages only when debugging is enabled
Monotone-Parent: 0bf76f3e9fbac283fc0390e74b1e27d8d12c23c7 Monotone-Revision: 2beb673f2d4abc8e4ea6eb827ec51bd6371423b6 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-16T12:42:47 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -548,22 +548,22 @@ static NSTimeInterval ChannelCollectionTimer = 5 * 60;
|
||||
{
|
||||
if ([[url port] intValue] == [[_url port] intValue])
|
||||
result = YES;
|
||||
else
|
||||
else if (debugOn)
|
||||
[self logWithFormat:
|
||||
@"MISMATCH: different port (%@ vs %@) ..",
|
||||
[url port], [_url port]];
|
||||
}
|
||||
else
|
||||
else if (debugOn)
|
||||
[self logWithFormat: @"MISMATCH: different user .."];
|
||||
}
|
||||
else
|
||||
else if (debugOn)
|
||||
[self logWithFormat: @"MISMATCH: different db .."];
|
||||
}
|
||||
else
|
||||
else if (debugOn)
|
||||
[self logWithFormat: @"MISMATCH: different host (%@ vs %@) ",
|
||||
[url host], [_url host]];
|
||||
}
|
||||
else
|
||||
else if (debugOn)
|
||||
[self logWithFormat: @"MISMATCH: no url .."];
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user