summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/chan_04close.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/chan_04close.cpp')
-rw-r--r--protocols/IcqOscarJ/src/chan_04close.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/chan_04close.cpp b/protocols/IcqOscarJ/src/chan_04close.cpp
index 12eef821ba..3c774e5ce0 100644
--- a/protocols/IcqOscarJ/src/chan_04close.cpp
+++ b/protocols/IcqOscarJ/src/chan_04close.cpp
@@ -189,7 +189,7 @@ void CIcqProto::handleSignonError(WORD wError)
case 0x06: // Internal Client error (bad input to authorizer)
case 0x07: // Invalid account
ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
- ZeroMemory(m_szPassword, sizeof(m_szPassword));
+ memset(m_szPassword, 0, sizeof(m_szPassword));
icq_LogFatalParam(LPGEN("Connection failed.\nYour ICQ number or password was rejected (%d)."), wError);
break;