diff options
Diffstat (limited to 'plugins/FTPFileYM/src')
-rw-r--r-- | plugins/FTPFileYM/src/dialog.cpp | 2 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/job_delete.cpp | 2 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/job_packer.cpp | 2 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/job_upload.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/FTPFileYM/src/dialog.cpp b/plugins/FTPFileYM/src/dialog.cpp index a9ebbd7d4d..0735bedc22 100644 --- a/plugins/FTPFileYM/src/dialog.cpp +++ b/plugins/FTPFileYM/src/dialog.cpp @@ -391,7 +391,7 @@ INT_PTR CALLBACK UploadDialog::UploadDlgProc(HWND hwndDlg, UINT msg, WPARAM wPar uDlg->m_tabs[i]->m_job->pause();
int result = IDYES;
- if (!Miranda_Terminated() && UploadJob::iRunningJobCount > 0)
+ if (!Miranda_IsTerminated() && UploadJob::iRunningJobCount > 0)
result = Utils::msgBox(TranslateT("Do you really want to cancel all running jobs?"), MB_YESNO | MB_ICONQUESTION);
if (result == IDYES) {
diff --git a/plugins/FTPFileYM/src/job_delete.cpp b/plugins/FTPFileYM/src/job_delete.cpp index 858bb9e58e..3a3238d7cc 100644 --- a/plugins/FTPFileYM/src/job_delete.cpp +++ b/plugins/FTPFileYM/src/job_delete.cpp @@ -42,7 +42,7 @@ void DeleteJob::waitingThread(void *arg) {
DeleteJob *job = (DeleteJob *)arg;
- while (!Miranda_Terminated()) {
+ while (!Miranda_IsTerminated()) {
mir_cslockfull lock(mutexJobCount);
if (iRunningJobCount < MAX_RUNNING_JOBS) {
iRunningJobCount++;
diff --git a/plugins/FTPFileYM/src/job_packer.cpp b/plugins/FTPFileYM/src/job_packer.cpp index 29ec91c4b8..47c2df2906 100644 --- a/plugins/FTPFileYM/src/job_packer.cpp +++ b/plugins/FTPFileYM/src/job_packer.cpp @@ -78,7 +78,7 @@ void PackerJob::waitingThread(void *arg) {
PackerJob *job = (PackerJob *)arg;
- while (!Miranda_Terminated()) {
+ while (!Miranda_IsTerminated()) {
mir_cslockfull lock(mutexJobCount);
if (iRunningJobCount < MAX_RUNNING_JOBS) {
iRunningJobCount++;
diff --git a/plugins/FTPFileYM/src/job_upload.cpp b/plugins/FTPFileYM/src/job_upload.cpp index 8443dafb6b..9fabe869db 100644 --- a/plugins/FTPFileYM/src/job_upload.cpp +++ b/plugins/FTPFileYM/src/job_upload.cpp @@ -148,7 +148,7 @@ void UploadJob::waitingThread(void *arg) {
UploadJob *job = (UploadJob *)arg;
- while (!Miranda_Terminated()) {
+ while (!Miranda_IsTerminated()) {
mir_cslockfull lock(mutexJobCount);
if (iRunningJobCount < MAX_RUNNING_JOBS) {
iRunningJobCount++;
|