summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GTalkExt/src')
-rw-r--r--protocols/GTalkExt/src/notifications.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/GTalkExt/src/notifications.cpp b/protocols/GTalkExt/src/notifications.cpp
index d3405bf677..da06851c8e 100644
--- a/protocols/GTalkExt/src/notifications.cpp
+++ b/protocols/GTalkExt/src/notifications.cpp
@@ -294,7 +294,7 @@ void ClearNotificationContactHistory(LPCSTR acc)
return;
for (HANDLE hEvent = db_event_first(hContact); hEvent;) {
- HANDLE hEvent1 = db_event_next(hEvent);
+ HANDLE hEvent1 = db_event_next(hContact, hEvent);
db_event_delete(hContact, hEvent);
hEvent = hEvent1;
}