summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_search.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-03-20 16:57:19 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-03-20 16:57:19 +0000
commit91996a2f0ab5228acdfac1d0c662d68339a0ed79 (patch)
treeb415191b2169e51f1c37688a8f01a90b54584c17 /protocols/VKontakte/src/vk_search.cpp
parent3015b86003db0edc9b1da8707a302cddc36855e5 (diff)
VK: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_search.cpp')
-rw-r--r--protocols/VKontakte/src/vk_search.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/protocols/VKontakte/src/vk_search.cpp b/protocols/VKontakte/src/vk_search.cpp
index 0d9f502727..4385b0ae3a 100644
--- a/protocols/VKontakte/src/vk_search.cpp
+++ b/protocols/VKontakte/src/vk_search.cpp
@@ -48,8 +48,7 @@ void CVkProto::SearchBasicThread(void* id)
return;
AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, "/method/users.get.json", true, &CVkProto::OnSearch)
<< TCHAR_PARAM("user_ids", (TCHAR *)id)
- << CHAR_PARAM("fields", "nickname, domain")
- << VER_API;
+ << CHAR_PARAM("fields", "nickname, domain");
pReq->pUserInfo = NULL;
Push(pReq);
}
@@ -61,8 +60,7 @@ void CVkProto::SearchByMailThread(void* email)
return;
AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, "/method/account.lookupContacts.json", true, &CVkProto::OnSearchByMail)
<< TCHAR_PARAM("contacts", (TCHAR *)email)
- << CHAR_PARAM("service", "email")
- << VER_API;
+ << CHAR_PARAM("service", "email");
Push(pReq);
}
@@ -79,8 +77,7 @@ void __cdecl CVkProto::SearchThread(void* p)
AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, "/method/users.search.json", true, &CVkProto::OnSearch)
<< TCHAR_PARAM("q", (TCHAR *)arg)
<< CHAR_PARAM("fields", "nickname, domain")
- << INT_PARAM("count", 200)
- << VER_API;
+ << INT_PARAM("count", 200);
pReq->pUserInfo = p;
Push(pReq);
}