diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-06-17 17:12:09 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-06-17 17:12:09 +0300 |
commit | f6d98c0326bac0275d5f08243abeef1da3707975 (patch) | |
tree | 026bb25244a812423c7c5c2d984512a37aa54e74 | |
parent | 6a2de5d771e26b11f1318db28aecab86a83e348e (diff) |
modified: init.cpp
modified: utilities.cpp
-rw-r--r-- | init.cpp | 2 | ||||
-rw-r--r-- | utilities.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -24,9 +24,7 @@ static HANDLE hAccountsChanges, hDbContactAdded; PLUGINLINK *pluginLink; static int OnModulesLoaded(WPARAM wParam,LPARAM lParam); extern char *date(); -//IJabberInterface *JabberInterface[10]; JabberAccount Accounts; -//TCHAR *JabberAccountName int JabberAccountsCount = 0; struct MM_INTERFACE mmi; diff --git a/utilities.cpp b/utilities.cpp index 7d9b85c..afac552 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -61,7 +61,7 @@ int GetJabberInterface(WPARAM, LPARAM) //get interface for all jabber accounts, } mir_free(tmp); } - while(GetAccountsCount() > i) //cleanup unused accounts + if(GetAccountsCount() > i) //cleanup unused accounts { JabberAccount *acc = &Accounts, *acc2; for(int a = 0; a <= i; a++) |