summaryrefslogtreecommitdiff
path: root/plugins/Exchange/src/emails.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange/src/emails.cpp')
-rw-r--r--plugins/Exchange/src/emails.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Exchange/src/emails.cpp b/plugins/Exchange/src/emails.cpp
index 696c595b02..d6dd60bc79 100644
--- a/plugins/Exchange/src/emails.cpp
+++ b/plugins/Exchange/src/emails.cpp
@@ -61,7 +61,7 @@ int CExchangeServer::Connect(int bForceConnect)
GetStringFromDatabase("Username", _T(""), user, _countof(user));
if (ServiceExists(MS_UTILS_REPLACEVARS))
- _tcsncpy_s(user, _countof(user), VARST(user), _TRUNCATE);
+ _tcsncpy_s(user, VARST(user), _TRUNCATE);
GetStringFromDatabase("Password", _T(""), password, _countof(password));
GetStringFromDatabase("Server", _T(""), server, _countof(server));