diff --git a/lib/gui_rpc_client.cpp b/lib/gui_rpc_client.cpp index 01cd0345b5..2b9a9b9012 100644 --- a/lib/gui_rpc_client.cpp +++ b/lib/gui_rpc_client.cpp @@ -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); diff --git a/lib/keyword.cpp b/lib/keyword.cpp index c98f87d2c5..ca1c719fb8 100644 --- a/lib/keyword.cpp +++ b/lib/keyword.cpp @@ -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( "\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("\n"); } +#endif int JOB_KEYWORDS::parse(XML_PARSER& xp) { while (!xp.get_tag()) {