summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/serverlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/serverlist.cpp')
-rw-r--r--plugins/FTPFileYM/src/serverlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/src/serverlist.cpp b/plugins/FTPFileYM/src/serverlist.cpp
index 7610369e11..b5be374920 100644
--- a/plugins/FTPFileYM/src/serverlist.cpp
+++ b/plugins/FTPFileYM/src/serverlist.cpp
@@ -64,7 +64,7 @@ void ServerList::saveToDb() const
ServerList::FTP::FTP(int index)
{
if (DB::getStringF(0, MODULE, "Name%d", index, m_stzName))
- mir_sntprintf(m_stzName, _countof(m_stzName), TranslateT("FTP Server %d"), index + 1);
+ mir_sntprintf(m_stzName, TranslateT("FTP Server %d"), index + 1);
DB::getAStringF(0, MODULE, "Password%d", index, m_szPass);
DB::getAStringF(0, MODULE, "Server%d", index, m_szServer);