Python filters beginning to work, still issues.

--HG--
branch : WINDOWSPORT
This commit is contained in:
Jean-Francois Dockes
2015-09-11 16:16:16 +02:00
parent 06f43c573e
commit 330c7fc30d
6 changed files with 175 additions and 13 deletions
+4 -1
View File
@@ -90,6 +90,9 @@ bool MimeHandlerExecMultiple::readDataElement(string& name, string &data)
LOGERR(("MHExecMultiple: getline error\n"));
return false;
}
LOGDEB1(("MHEM:rde: line [%s]\n", ibuf.c_str()));
// Empty line (end of message) ?
if (!ibuf.compare("\n")) {
LOGDEB(("MHExecMultiple: Got empty line\n"));
@@ -163,7 +166,7 @@ bool MimeHandlerExecMultiple::next_document()
return false;
}
if (m_cmd.getChildPid() < 0 && !startCmd()) {
if (m_cmd.getChildPid() <= 0 && !startCmd()) {
return false;
}