diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-07 20:15:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-07 20:15:59 +0000 |
commit | 6c61dc812b9a5382c282f3e61111516fff562c0e (patch) | |
tree | 3308c3bb4734663bf28c8c0cf438ea7f6d4b49fa /src | |
parent | 20fa18c158baf0c336c1efe655899943a916ce77 (diff) |
fix for potentially endless loops
git-svn-id: http://svn.miranda-ng.org/main/trunk@11789 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdfile/src/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdfile/src/file.cpp b/src/core/stdfile/src/file.cpp index 950f018141..0363ebc851 100644 --- a/src/core/stdfile/src/file.cpp +++ b/src/core/stdfile/src/file.cpp @@ -291,7 +291,7 @@ static void RemoveUnreadFileEvents(void) while (hDbEvent) {
DBEVENTINFO dbei = { sizeof(dbei) };
db_event_get(hDbEvent, &dbei);
- if (!(dbei.flags&(DBEF_SENT | DBEF_READ)) && dbei.eventType == EVENTTYPE_FILE)
+ if (!(dbei.flags & (DBEF_SENT | DBEF_READ)) && dbei.eventType == EVENTTYPE_FILE)
db_event_markRead(hContact, hDbEvent);
hDbEvent = db_event_next(hContact, hDbEvent);
}
|