diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-20 18:06:54 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-20 18:06:54 +0300 |
commit | 3aeaeb4d46c0913d35fe3731d9e7b4e8c7e17526 (patch) | |
tree | 7d9942c3adb1376d657001589430545df94b1569 | |
parent | af01f3cd2458d91df093ec7e10789a7a03d38661 (diff) |
modified: jabber_account.cpp
modified: utilities.cpp
-rw-r--r-- | jabber_account.cpp | 3 | ||||
-rw-r--r-- | utilities.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/jabber_account.cpp b/jabber_account.cpp index 836ff03..44c2d0b 100644 --- a/jabber_account.cpp +++ b/jabber_account.cpp @@ -53,6 +53,9 @@ HANDLE JabberAccount::getSendHandler() JabberAccount::JabberAccount() { AccountName = NULL; + hSendHandler = INVALID_HANDLE_VALUE; + AccountNumber = -1; + JabberInterface = INVALID_HANDLE_VALUE; } JabberAccount::~JabberAccount() { diff --git a/utilities.cpp b/utilities.cpp index b658e57..9886fc3 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -324,7 +324,6 @@ int GetJabberInterface(WPARAM w, LPARAM l) //get interface for all jabber accoun (*p)->setAccountName(tmp); } (*p)->setAccountNumber(a); - (*p)->setSendHandler(INVALID_HANDLE_VALUE); a++; Accounts.push_back(new JabberAccount); p++; |