mirror of https://github.com/BOINC/boinc.git
- client: fix typo that broke communication with account managers
- API: compile fix for Win svn path=/trunk/boinc/; revision=22804
This commit is contained in:
parent
9f33bbb5ad
commit
2855bd3840
|
@ -203,7 +203,11 @@ char* boinc_msg_prefix(char* sbuf, int len) {
|
|||
strcpy(sbuf, "time() failed");
|
||||
return sbuf;
|
||||
}
|
||||
#ifdef _WIN32
|
||||
if (localtime_s(&tm, &x) == EINVAL) {
|
||||
#else
|
||||
if (localtime_r(&x, &tm) == NULL) {
|
||||
#endif
|
||||
strcpy(sbuf, "localtime() failed");
|
||||
return sbuf;
|
||||
}
|
||||
|
|
|
@ -8609,3 +8609,12 @@ David 2 Dec 2010
|
|||
|
||||
client/
|
||||
rr_sim.cpp
|
||||
|
||||
David 2 Dec 2010
|
||||
- client: fix typo that broke communication with account managers
|
||||
- API: compile fix for Win
|
||||
|
||||
client/
|
||||
acct_mgr.cpp
|
||||
api/
|
||||
boinc_api.cpp
|
||||
|
|
|
@ -151,10 +151,10 @@ int ACCT_MGR_OP::do_rpc(
|
|||
" <hostid>%d</hostid>\n"
|
||||
" <not_started_dur>%f</not_started_dur>\n"
|
||||
" <in_progress_dur>%f</in_progress_dur>\n"
|
||||
" <attached_via_acct_mgr>%d</attached_via_acct_mgr/>\n"
|
||||
" <dont_request_more_work>%d</dont_request_more_work/>\n"
|
||||
" <detach_when_done>%d</detach_when_done/>\n"
|
||||
" <ended>%d</ended/>\n"
|
||||
" <attached_via_acct_mgr>%d</attached_via_acct_mgr>\n"
|
||||
" <dont_request_more_work>%d</dont_request_more_work>\n"
|
||||
" <detach_when_done>%d</detach_when_done>\n"
|
||||
" <ended>%d</ended>\n"
|
||||
" </project>\n",
|
||||
p->master_url,
|
||||
p->project_name,
|
||||
|
|
Loading…
Reference in New Issue