summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_links.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-30 14:25:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-30 14:25:01 +0000
commiteb8ce4835cfe80601daaf64b6f842e63b85e62af (patch)
tree0a6efec04fb4330daea0a48ed2456048bacbe53e /protocols/MSN/src/msn_links.cpp
parent8e1b69f9327909134a9646d3f182155125623b70 (diff)
copyright update
fixes #204 git-svn-id: http://svn.miranda-ng.org/main/trunk@3367 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_links.cpp')
-rw-r--r--protocols/MSN/src/msn_links.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/protocols/MSN/src/msn_links.cpp b/protocols/MSN/src/msn_links.cpp
index 1d54afd64c..57f84e2e06 100644
--- a/protocols/MSN/src/msn_links.cpp
+++ b/protocols/MSN/src/msn_links.cpp
@@ -1,5 +1,7 @@
/*
Plugin of Miranda IM for communicating with users of the MSN Messenger protocol.
+
+Copyright (c) 2012-2013 Miranda NG Team
Copyright (c) 2008-2012 Boris Krasnovskiy.
This program is free software; you can redistribute it and/or
@@ -28,7 +30,7 @@ static HANDLE hServiceParseLink;
static HANDLE GetContact(TCHAR *arg, TCHAR **pemail, CMsnProto *proto)
{
TCHAR* email = NULL;
- do
+ do
{
TCHAR *tok = _tcschr(arg, '&'); /* next token */
if (tok != NULL) *tok++ = '\0';
@@ -40,7 +42,7 @@ static HANDLE GetContact(TCHAR *arg, TCHAR **pemail, CMsnProto *proto)
email = arg;
}
arg = tok;
- }
+ }
while(arg != NULL);
if (email == NULL || email[0] == '\0')
@@ -53,7 +55,7 @@ static HANDLE GetContact(TCHAR *arg, TCHAR **pemail, CMsnProto *proto)
return hContact;
}
-/*
+/*
add user: msnim:add?contact=netpassport@emailaddress.com
send message: msnim:chat?contact=netpassport@emailaddress.com
voice chat: msnim:voice?contact=netpassport@emailaddress.com
@@ -89,8 +91,8 @@ static INT_PTR ServiceParseMsnimLink(WPARAM, LPARAM lParam)
/* add a contact to the list */
- if(_tcsnicmp(arg, _T("add?"), 4) == 0)
- {
+ if(_tcsnicmp(arg, _T("add?"), 4) == 0)
+ {
arg += 4;
TCHAR *email;
@@ -98,7 +100,7 @@ static INT_PTR ServiceParseMsnimLink(WPARAM, LPARAM lParam)
if (email == NULL) return 1;
/* does not yet check if email is current user */
- if (hContact == NULL)
+ if (hContact == NULL)
{
ADDCONTACTSTRUCT acs = {0};
PROTOSEARCHRESULT psr = {0};