summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-06 19:28:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-06 19:28:47 +0000
commit65a53b8ae95bf7adb160b4e7cb10efc342fa75d0 (patch)
tree4c3f45764730f25010c7715e701f1c79c1120588 /protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp
parent90fc3521557ae33352dcc7baa87828b6bb0ca2b9 (diff)
proper cleanup for wassup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5605 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp b/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp
index af21776b83..f8bf6dc993 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp
+++ b/protocols/WhatsApp/src/WhatsAPI++/WALogin.cpp
@@ -179,9 +179,9 @@ std::vector<unsigned char>* WALogin::getAuthBlob(const std::vector<unsigned char
this->outputKey = new KeyStream(out, 20);
std::vector<unsigned char>* list = new std::vector<unsigned char>(0);
- for (int i = 0; i < 4; i++) {
+ for (int i = 0; i < 4; i++)
list->push_back(0);
- }
+
list->insert(list->end(), this->user.begin(), this->user.end());
list->insert(list->end(), nonce.begin(), nonce.end());
std::string strTime = Utilities::intToStr( time(NULL));