summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_sessionsthread.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_sessionsthread.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_sessionsthread.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_sessionsthread.pas b/plugins/HistoryPlusPlus/hpp_sessionsthread.pas
index 57535d7004..d86372feaf 100644
--- a/plugins/HistoryPlusPlus/hpp_sessionsthread.pas
+++ b/plugins/HistoryPlusPlus/hpp_sessionsthread.pas
@@ -209,7 +209,7 @@ begin
Inc(Count);
PrevTime := CurTime;
end;
- hDBEvent := db_event_next(hDBEvent);
+ hDBEvent := db_event_next(FContact, hDBEvent);
end;
SendItem(FirstEvent, LastEvent, FirstTimestamp, LastTimestamp, Count);
SendBatch;