mirror of https://github.com/BOINC/boinc.git
- client: fix bug in parsing of <link rel=boinc_scheduler ...>
element in master files. fixes #467 svn path=/trunk/boinc/; revision=14167
This commit is contained in:
parent
75e5e0a1ee
commit
715f4d46dd
|
@ -10817,3 +10817,10 @@ David 12 Nov 2007
|
|||
results.php
|
||||
show_user.php
|
||||
workunit.php
|
||||
|
||||
David 12 Nov 2007
|
||||
- client: fix bug in parsing of <link rel=boinc_scheduler ...>
|
||||
element in master files. fixes #467
|
||||
|
||||
client/
|
||||
scheduler_op.C
|
||||
|
|
|
@ -306,7 +306,7 @@ int SCHEDULER_OP::parse_master_file(PROJECT* p, vector<std::string> &urls) {
|
|||
while (q) {
|
||||
n = sscanf(q, "<link rel=\"boinc_scheduler\" href=\"%s", buf2);
|
||||
if (n == 1) {
|
||||
char* q2 = strchr(buf2, '\"');
|
||||
char* q2 = strchr(buf2, '"');
|
||||
if (q2) *q2 = 0;
|
||||
strip_whitespace(buf2);
|
||||
str = string(buf2);
|
||||
|
|
Loading…
Reference in New Issue