diff options
Diffstat (limited to 'plugins/Exchange/src/emails.cpp')
-rw-r--r-- | plugins/Exchange/src/emails.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Exchange/src/emails.cpp b/plugins/Exchange/src/emails.cpp index 5f22aa6a29..51fdb00455 100644 --- a/plugins/Exchange/src/emails.cpp +++ b/plugins/Exchange/src/emails.cpp @@ -62,7 +62,7 @@ int CExchangeServer::Connect(int bForceConnect) wchar_t server[1024];
GetStringFromDatabase("Username", L"", user, _countof(user));
- wcsncpy_s(user, VARST(user), _TRUNCATE);
+ wcsncpy_s(user, VARSW(user), _TRUNCATE);
GetStringFromDatabase("Password", L"", password, _countof(password));
GetStringFromDatabase("Server", L"", server, _countof(server));
|