summaryrefslogtreecommitdiff
path: root/protocols/MRA/MraProto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-13 18:45:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-13 18:45:01 +0000
commit1b6becfd04a7f52a9fdf2d51b04375c52814925b (patch)
treee9858839bfc78ef5b73dc082602425fe251d3ca7 /protocols/MRA/MraProto.cpp
parent94d1e755f4034c94a324904b81e132144ef00d6f (diff)
- antispam fix
- auth fix git-svn-id: http://svn.miranda-ng.org/main/trunk@1571 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/MraProto.cpp')
-rw-r--r--protocols/MRA/MraProto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/MraProto.cpp b/protocols/MRA/MraProto.cpp
index 89be68ff44..5ee6c3bbd1 100644
--- a/protocols/MRA/MraProto.cpp
+++ b/protocols/MRA/MraProto.cpp
@@ -323,7 +323,7 @@ int CMraProto::AuthDeny(HANDLE hDBEvent, const TCHAR* szReason)
DBEVENTINFO dbei = {0};
dbei.cbSize = sizeof(dbei);
- if ((dbei.cbBlob = CallService(MS_DB_EVENT_GETBLOBSIZE, (WPARAM)hDBEvent, 0)) != -1)
+ if ((dbei.cbBlob = CallService(MS_DB_EVENT_GETBLOBSIZE, (WPARAM)hDBEvent, 0)) == -1)
return 1;
dbei.pBlob = (PBYTE)alloca(dbei.cbBlob);