- update_versions: fix typo that produced bad XML

svn path=/trunk/boinc/; revision=23793
This commit is contained in:
David Anderson 2011-07-05 17:45:24 +00:00
parent ca2435b592
commit cc0ab61b96
3 changed files with 8 additions and 2 deletions

View File

@ -3877,3 +3877,9 @@ David 4 July 2011
parse.cpp,h
html/user/
openid_login.php
David 5 July 2011
- update_versions: fix typo that produced bad XML
tools/
update_versions

View File

@ -6,7 +6,7 @@
function skype_status($skypeid) {
$url = "http://mystatus.skype.com/$skypeid.xml";
$xml = file_get_contents($url);
$xml = @file_get_contents($url);
$x = strstr($xml, "NUM\">");
return (int)substr($x, 5, 1);
}

View File

@ -380,7 +380,7 @@ function process_version($a, $v, $p) {
$xml .=
"<app_version>\n".
" <app_name>".$app->name."</app_name>\n".
" <version_num>".parse_version($v)."</version_name>\n".
" <version_num>".parse_version($v)."</version_num>\n".
" <api_version>$api_version</api_version>\n"
;
foreach ($fds as $fd) {