fix fcgi build, hopefully

This commit is contained in:
David Anderson 2017-07-30 16:06:43 -07:00
parent e8d0453d47
commit 1e55ec0c82
2 changed files with 5 additions and 1 deletions

View File

@ -334,7 +334,6 @@ int RPC_CLIENT::get_reply(char*& mbuf) {
if (n <= 0) return ERR_READ;
buf[n]=0;
mf.puts(buf);
printf("%s\n", buf);
if (strchr(buf, '\003')) break;
}
mf.get_buf(mbuf, n);

View File

@ -37,6 +37,7 @@ int KEYWORD::parse(XML_PARSER& xp) {
return ERR_XML_PARSE;
}
#ifndef _USING_FCGI_
void KEYWORD::write_xml(MIOFILE& mf) {
mf.printf(
"<keyword>\n"
@ -49,6 +50,7 @@ void KEYWORD::write_xml(MIOFILE& mf) {
name.c_str(), description.c_str(), parent, level, category
);
}
#endif
int KEYWORDS::parse(XML_PARSER& xp) {
while (!xp.get_tag()) {
@ -111,6 +113,8 @@ void JOB_KEYWORD_IDS::parse_str(char* buf) {
}
}
#ifndef _USING_FCGI_
// write list of full keywords
//
void JOB_KEYWORD_IDS::write_xml_text(MIOFILE& mf, KEYWORDS& k) {
@ -137,6 +141,7 @@ void JOB_KEYWORD_IDS::write_xml_num(MIOFILE& out) {
}
out.printf("</job_keyword_ids>\n");
}
#endif
int JOB_KEYWORDS::parse(XML_PARSER& xp) {
while (!xp.get_tag()) {