adium 4874:49d9191a4221: The log index failing to be created can...
commits at adium.im
commits at adium.im
Thu Jun 21 19:00:12 UTC 2012
details: http://hg.adium.im/adium/rev/49d9191a4221
revision: 4874:49d9191a4221
branch: adium-1.5.2
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Thu Jun 21 20:57:36 2012 +0200
The log index failing to be created can still happen. Try not to crash here.
diffs (15 lines):
diff -r b0fba8081476 -r 49d9191a4221 Source/AILogViewerWindowController.m
--- a/Source/AILogViewerWindowController.m Thu Jun 21 01:06:16 2012 +0200
+++ b/Source/AILogViewerWindowController.m Thu Jun 21 20:57:36 2012 +0200
@@ -1563,6 +1563,11 @@
Boolean more = true;
unsigned long totalCount = 0;
+ if (!logSearchIndex) {
+ AILogWithSignature(@"Got a NULL logSearchIndex. This shouldn't happen!");
+ return;
+ }
+
[currentSearchLock lock];
if (currentSearch) {
SKSearchCancel(currentSearch);
More information about the commits
mailing list