mirror of https://github.com/BOINC/boinc.git
- scheduler: message tweak
svn path=/trunk/boinc/; revision=22384
This commit is contained in:
parent
7c4363a7ba
commit
7ac7bdcb04
|
@ -6674,3 +6674,10 @@ David 16 Sept 2010
|
|||
client/
|
||||
client_msgs.cpp
|
||||
cs_scheduler.cpp
|
||||
|
||||
David 17 Sept 2010
|
||||
- scheduler: message tweak
|
||||
tools/
|
||||
create_work.cpp
|
||||
sched/
|
||||
handle_request.cpp
|
||||
|
|
|
@ -827,7 +827,7 @@ bool send_code_sign_key(char* code_sign_key) {
|
|||
retval = read_file_malloc(path, signature);
|
||||
if (retval) {
|
||||
g_reply->insert_message(
|
||||
_("You may have an outdated code signing key. Try attaching and reattaching this project."),
|
||||
_("The project has changed its security key. Please remove and add this project."),
|
||||
"notice"
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -197,15 +197,22 @@ int main(int argc, const char** argv) {
|
|||
i++;
|
||||
}
|
||||
|
||||
#define CHKARG(x,m) do { if (!(x)) { fprintf(stderr, "create_work: bad command line: "m"\n"); exit(1); } } while (0)
|
||||
#define CHKARG_STR(v,m) CHKARG(strlen(v),m)
|
||||
|
||||
CHKARG_STR(app.name , "need --appname");
|
||||
CHKARG_STR(wu.name , "need --wu_name");
|
||||
CHKARG_STR(wu_template_file , "need --wu_template");
|
||||
CHKARG_STR(result_template_file , "need --result_template");
|
||||
#undef CHKARG
|
||||
#undef CHKARG_STR
|
||||
if (!strlen(app.name)) {
|
||||
fprintf(stderr, "create_work: missing --appname\n");
|
||||
exit(1);
|
||||
}
|
||||
if (!strlen(wu.name)) {
|
||||
fprintf(stderr, "create_work: missing --wu_name\n");
|
||||
exit(1);
|
||||
}
|
||||
if (!strlen(wu_template_file)) {
|
||||
fprintf(stderr, "create_work: missing --wu_template\n");
|
||||
exit(1);
|
||||
}
|
||||
if (!strlen(result_template_file)) {
|
||||
fprintf(stderr, "create_work: missing --result_template\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (assign_flag) {
|
||||
if (!strstr(wu.name, ASSIGNED_WU_STR)) {
|
||||
|
|
Loading…
Reference in New Issue