mirror of https://github.com/BOINC/boinc.git
Fixed another FCGI compile problem.
This commit is contained in:
parent
899d2721ac
commit
6ac06fca94
|
@ -29,7 +29,12 @@ std::vector<regex_t> file_delete_regex;
|
|||
|
||||
int init_file_delete_regex() {
|
||||
char buf[256];
|
||||
#ifndef _USING_FCGI_
|
||||
FILE* f = fopen("../file_delete_regex", "r");
|
||||
#else
|
||||
FCGI_FILE* f = FCGI::fopen("../file_delete_regex", "r");
|
||||
#endif
|
||||
|
||||
if (!f) return 0;
|
||||
while (fgets(buf, sizeof(buf), f)) {
|
||||
strip_whitespace(buf);
|
||||
|
|
Loading…
Reference in New Issue