diff --git a/client/app_control.cpp b/client/app_control.cpp index c59bc3e4cb..fb1df52776 100644 --- a/client/app_control.cpp +++ b/client/app_control.cpp @@ -371,12 +371,12 @@ void ACTIVE_TASK::handle_temporary_exit( } else { if (is_notice) { msg_printf(result->project, MSG_USER_ALERT, - "Can't run task: %s", reason + "Task postponed: %s", reason ); } else { - if (log_flags.task_debug) { + if (log_flags.task) { msg_printf(result->project, MSG_INFO, - "[task] task called temporary_exit(%f, %s)", backoff, reason + "task postponed %f sec: %s", backoff, reason ); } } diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index 80814e4357..2c3845ec65 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -2535,15 +2535,14 @@ wxString result_description(RESULT* result, bool show_resources) { } if (result->scheduler_wait) { if (strlen(result->scheduler_wait_reason)) { - strBuffer += _(" (Scheduler wait: "); + strBuffer = _("Postponed: "); strBuffer += wxString(result->scheduler_wait_reason, wxConvUTF8); - strBuffer += _(")"); } else { - strBuffer += _(" (Scheduler wait)"); + strBuffer = _("Postponed"); } } if (result->network_wait) { - strBuffer += _(" (Waiting for network access)"); + strBuffer = _("Waiting for network access"); } break; case RESULT_COMPUTE_ERROR: diff --git a/samples/wrapper/wrapper.cpp b/samples/wrapper/wrapper.cpp index 0be69bfc95..4ed8c71f1f 100644 --- a/samples/wrapper/wrapper.cpp +++ b/samples/wrapper/wrapper.cpp @@ -697,7 +697,7 @@ int TASK::run(int argct, char** argvt) { NULL, NULL, TRUE, // bInheritHandles - CREATE_NO_WINDOW|no_priority_change?0:IDLE_PRIORITY_CLASS, + CREATE_NO_WINDOW|(no_priority_change?0:IDLE_PRIORITY_CLASS), (LPVOID) env_vars, exec_dir.empty()?NULL:exec_dir.c_str(), &startup_info,