rclepub: use elt ids instead of hrefs + debug traces

This commit is contained in:
Jean-Francois Dockes
2012-10-11 15:35:15 +02:00
parent 9f4fed8bb6
commit d4edbbaedb
2 changed files with 16 additions and 9 deletions
+4 -1
View File
@@ -120,7 +120,7 @@ bool MimeHandlerExecMultiple::readDataElement(string& name, string &data)
ibuf.c_str()));
return false;
}
LOGDEB(("MHExecMultiple: got name [%s] len: %d\n", name.c_str(), len));
if (len / 1024 > m_maxmemberkb) {
LOGERR(("MHExecMultiple: data len > maxmemberkb\n"));
return false;
@@ -143,6 +143,9 @@ bool MimeHandlerExecMultiple::readDataElement(string& name, string &data)
len, datap->length()));
return false;
}
LOGDEB1(("MHExecMe:rdDtElt got: name [%s] len %d value [%s]\n",
name.c_str(), len, datap->size() > 100 ?
(datap->substr(0, 100) + " ...").c_str() : datap->c_str()));
return true;
}