summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-26 18:59:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-26 18:59:00 +0000
commit9fb4afe66dca4f6b3a73c442a8bbcf5e84674b00 (patch)
treef9bee1d3c70ae44a7a177661eb8dd902c1d1c960 /plugins/FTPFileYM
parent404e500ea39d5bd24b46cb214ef731f20c515867 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15038 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM')
-rw-r--r--plugins/FTPFileYM/src/serverlist.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/FTPFileYM/src/serverlist.cpp b/plugins/FTPFileYM/src/serverlist.cpp
index 878bbd87a6..7610369e11 100644
--- a/plugins/FTPFileYM/src/serverlist.cpp
+++ b/plugins/FTPFileYM/src/serverlist.cpp
@@ -72,8 +72,6 @@ ServerList::FTP::FTP(int index)
DB::getAStringF(0, MODULE, "Url%d", index, m_szUrl);
DB::getAStringF(0, MODULE, "Dir%d", index, m_szDir);
DB::getAStringF(0, MODULE, "Chmod%d", index, m_szChmod);
- if (m_szUrl[0] == 0)
- strcpy(m_szUrl, "/");
m_ftpProto = (FTP::EProtoType)DB::getWordF(0, MODULE, "FtpProto%d", index, FTP::FT_STANDARD);
m_iPort = DB::getWordF(0, MODULE, "Port%d", index, 21);
m_bPassive = DB::getByteF(0, MODULE, "Passive%d", index, 0) ? true : false;