summaryrefslogtreecommitdiff
path: root/protocols/MSN
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-16 13:21:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-16 13:21:19 +0000
commit7cedb42807647da0f1dd77efcf5939eccbd00dd7 (patch)
tree6fdc0c445994a808fc0be6a935617ee56708c963 /protocols/MSN
parent56b8c0db53b4dfab5d1aeebc0f58de70d619de9e (diff)
- useless header removed;
- unused headers removed; git-svn-id: http://svn.miranda-ng.org/main/trunk@4669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN')
-rw-r--r--protocols/MSN/src/msn_links.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/protocols/MSN/src/msn_links.cpp b/protocols/MSN/src/msn_links.cpp
index 57f84e2e06..6d170ca7c2 100644
--- a/protocols/MSN/src/msn_links.cpp
+++ b/protocols/MSN/src/msn_links.cpp
@@ -102,17 +102,15 @@ static INT_PTR ServiceParseMsnimLink(WPARAM, LPARAM lParam)
/* does not yet check if email is current user */
if (hContact == NULL)
{
- ADDCONTACTSTRUCT acs = {0};
- PROTOSEARCHRESULT psr = {0};
+ PROTOSEARCHRESULT psr = { sizeof(psr) };
+ psr.flags = PSR_TCHAR;
+ psr.nick = email;
+ psr.email = email;
+ ADDCONTACTSTRUCT acs = {0};
acs.handleType = HANDLE_SEARCHRESULT;
acs.szProto = proto->m_szModuleName;
acs.psr = &psr;
-
- psr.cbSize = sizeof(psr);
- psr.flags = PSR_TCHAR;
- psr.nick = email;
- psr.email = email;
CallService(MS_ADDCONTACT_SHOW, 0, (LPARAM)&acs);
}
return 0;