summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/job_upload.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-26 18:16:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-26 18:16:43 +0000
commit404e500ea39d5bd24b46cb214ef731f20c515867 (patch)
tree6f8325d4a6cab6d67f8596a9289ba8b4859538b1 /plugins/FTPFileYM/src/job_upload.cpp
parent6a1a045e620dba38a7a64070af59d1a91b104921 (diff)
fix for bug with empty url
git-svn-id: http://svn.miranda-ng.org/main/trunk@15037 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/src/job_upload.cpp')
-rw-r--r--plugins/FTPFileYM/src/job_upload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/src/job_upload.cpp b/plugins/FTPFileYM/src/job_upload.cpp
index 1ec70984ec..c0d4cebc12 100644
--- a/plugins/FTPFileYM/src/job_upload.cpp
+++ b/plugins/FTPFileYM/src/job_upload.cpp
@@ -280,7 +280,7 @@ void UploadJob::upload()
_tstat(m_tszFilePath, &fileInfo);
m_uiFileSize = (UINT64)fileInfo.st_size;
- CURL *hCurl = (getUrlString(), headerList);
+ CURL *hCurl = curlInit(getUrlString(), headerList);
if (!hCurl) {
Utils::msgBox(TranslateT("Error occurred when initializing libcurl.\nAborting file upload..."), MB_OK | MB_ICONERROR);
return;