summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/libgadu/dcc7.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-02 13:17:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-02 13:17:33 +0000
commitad8bc05808c6d1f45fb1d62500b4b30f0d654ed7 (patch)
tree88df0201250f7c68732ad96f92c0d2819ee856d6 /protocols/Gadu-Gadu/src/libgadu/dcc7.cpp
parent6fea3e12b388f6c525cb0dda6a4bcd7e1b8d17ba (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@10018 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/libgadu/dcc7.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/libgadu/dcc7.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/libgadu/dcc7.cpp b/protocols/Gadu-Gadu/src/libgadu/dcc7.cpp
index 058177f353..9d15c8b0cf 100644
--- a/protocols/Gadu-Gadu/src/libgadu/dcc7.cpp
+++ b/protocols/Gadu-Gadu/src/libgadu/dcc7.cpp
@@ -148,7 +148,7 @@ static struct gg_dcc7 *gg_dcc7_session_find(struct gg_session *sess, gg_dcc7_id_
for (tmp = sess->dcc7_list; tmp; tmp = tmp->next) {
if (empty) {
- if (tmp->peer_uin == uin && !tmp->state == GG_STATE_WAITING_FOR_ACCEPT)
+ if (tmp->peer_uin == uin && tmp->state != GG_STATE_WAITING_FOR_ACCEPT)
return tmp;
} else {
if (!memcmp(&tmp->cid, &id, sizeof(id)))