fixed typo to allow compiling.

svn path=/trunk/boinc/; revision=8763
This commit is contained in:
Reinhard Prix 2005-10-28 14:32:40 +00:00
parent 5a10d5929b
commit 1c46742951
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ int handle_request(FILE* in, R_RSA_PUBLIC_KEY& key) {
did_something = true;
break;
} else if (parse_str(buf, "<get_file_size>", file_name, sizeof(file_name))) {
if (strstr(file_name, "..") {
if (strstr(file_name, "..")) {
return return_error(ERR_PERMANENT, "Bad filename");
}
if (!got_version) {