mirror of https://github.com/BOINC/boinc.git
Correct typo in warning message, and improve comment
svn path=/trunk/boinc/; revision=5276
This commit is contained in:
parent
a27705fd59
commit
e5058d872f
|
@ -287,9 +287,14 @@ URLTYPE* read_download_list(){
|
||||||
if (cached)
|
if (cached)
|
||||||
return cached;
|
return cached;
|
||||||
|
|
||||||
if (!(fp=fopen("../download_servers", "r")))
|
if (!(fp=fopen("../download_servers", "r"))) {
|
||||||
|
log_messages.printf(
|
||||||
|
SCHED_MSG_LOG::CRITICAL,
|
||||||
|
"File ../download_servers not found or unreadable!\n"
|
||||||
|
);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
// read in lines from file
|
// read in lines from file
|
||||||
while (1) {
|
while (1) {
|
||||||
// allocate memory in blocks
|
// allocate memory in blocks
|
||||||
|
@ -314,9 +319,9 @@ URLTYPE* read_download_list(){
|
||||||
if (!count) {
|
if (!count) {
|
||||||
log_messages.printf(
|
log_messages.printf(
|
||||||
SCHED_MSG_LOG::CRITICAL,
|
SCHED_MSG_LOG::CRITICAL,
|
||||||
"file ../download_servers contained no valid entries!\n"
|
"File ../download_servers contained no valid entries!\n"
|
||||||
"format of this file is one or more lines containing:\n"
|
"Format of this file is one or more lines containing:\n"
|
||||||
"TIMEZONE_OFFSET htt://some.url.path\n"
|
"TIMEZONE_OFFSET_IN_SEC http://some.url.path\n"
|
||||||
);
|
);
|
||||||
free(cached);
|
free(cached);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue