diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-31 22:48:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-31 22:48:57 +0300 |
commit | eb632a84170ea471b4a3334b951d52c9827e393b (patch) | |
tree | f051dc02b81fbadae18b37fdba09375a20084b73 /src/mir_app | |
parent | dda0fe5570bf7cb6634eb2a1debc5088433abfdd (diff) |
fix for the broken message reading in NewsAggregator
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/proto_internal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_internal.cpp b/src/mir_app/src/proto_internal.cpp index bb57cde70c..5a0dd734fa 100644 --- a/src/mir_app/src/proto_internal.cpp +++ b/src/mir_app/src/proto_internal.cpp @@ -203,7 +203,7 @@ struct DEFAULT_PROTO_INTERFACE : public PROTO_INTERFACE {
CCSDATA ccs = { hContact, PSR_MESSAGE, 0, (LPARAM)evt };
INT_PTR res = ProtoCallService(m_szModuleName, PSR_MESSAGE, 0, (LPARAM)&ccs);
- return (res != CALLSERVICE_NOTFOUND) ? (int)res : CSuper::RecvMsg(hContact, evt);
+ return (res == CALLSERVICE_NOTFOUND) ? -1 : (int)res;
}
virtual int __cdecl RecvUrl(MCONTACT hContact, PROTORECVEVENT* evt) override
|