summaryrefslogtreecommitdiff
path: root/protocols/NewsAggregator/Src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/NewsAggregator/Src/Utils.cpp')
-rw-r--r--protocols/NewsAggregator/Src/Utils.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/protocols/NewsAggregator/Src/Utils.cpp b/protocols/NewsAggregator/Src/Utils.cpp
index 90ce3cc2d9..f28825d7e5 100644
--- a/protocols/NewsAggregator/Src/Utils.cpp
+++ b/protocols/NewsAggregator/Src/Utils.cpp
@@ -1090,13 +1090,7 @@ VOID CheckCurrentFeed(HANDLE hContact)
recv.flags = PREF_TCHAR;
recv.timestamp = stamp;
recv.tszMessage = message;
-
- CCSDATA ccs;
- ccs.hContact = hContact;
- ccs.wParam = 0;
- ccs.szProtoService = PSR_MESSAGE;
- ccs.lParam = ( LPARAM )&recv;
- CallService(MS_PROTO_CHAINRECV, 0, (LPARAM)&ccs);
+ ProtoChainRecvMsg(hContact, &recv);
}
mir_free(message);
}
@@ -1389,13 +1383,7 @@ VOID CheckCurrentFeed(HANDLE hContact)
recv.flags = PREF_TCHAR;
recv.timestamp = stamp;
recv.tszMessage = message;
-
- CCSDATA ccs;
- ccs.hContact = hContact;
- ccs.wParam = 0;
- ccs.szProtoService = PSR_MESSAGE;
- ccs.lParam = ( LPARAM )&recv;
- CallService(MS_PROTO_CHAINRECV, 0, (LPARAM)&ccs);
+ ProtoChainRecvMsg(hContact, &recv);
}
mir_free(message);
}