diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-13 22:29:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-13 22:29:27 +0000 |
commit | 95336fc1843ab1ca7e2131b66ce67635e0ac19d2 (patch) | |
tree | c51b059b139b0e222036ed8eb48920b10f1f852a /protocols/IcqOscarJ/src/utilities.cpp | |
parent | db58e3f45a11aa0b19c5d0638a20cc5d404f40a6 (diff) |
- fix for 64-bit incompatibility;
- STL removed;
- copyright update;
- massive code cleaning;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@9790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/utilities.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/utilities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/utilities.cpp b/protocols/IcqOscarJ/src/utilities.cpp index 1843f443bc..dd09f132cf 100644 --- a/protocols/IcqOscarJ/src/utilities.cpp +++ b/protocols/IcqOscarJ/src/utilities.cpp @@ -6,6 +6,7 @@ // Copyright © 2001-2002 Jon Keating, Richard Hughes
// Copyright © 2002-2004 Martin Öberg, Sam Kothari, Robert Rainwater
// Copyright © 2004-2010 Joe Kucera
+// Copyright © 2012-2014 Miranda NG Team
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -284,10 +285,9 @@ DWORD GetGatewayIndex(HANDLE hConn) {
icq_lock l(gatewayMutex);
- for (int i = 0; i < gatewayCount; i++) {
+ for (int i = 0; i < gatewayCount; i++)
if (hConn == gateways[i].hConn)
return gateways[i].dwIndex;
- }
return 1; // this is default
}
|