parent
4f6a8ab52f
commit
8db7f446d7
@ -292,11 +292,11 @@ static std::ostream& operator<<(std::ostream& os, const vmime::exception& e)
|
|||||||
* @param s structure object
|
* @param s structure object
|
||||||
* @param level current depth
|
* @param level current depth
|
||||||
*/
|
*/
|
||||||
static void printStructure(vmime::ref <const vmime::net::structure> s, const int level = 0)
|
static void printStructure(vmime::ref <const vmime::net::messageStructure> s, const int level = 0)
|
||||||
{
|
{
|
||||||
for (int i = 0 ; i < s->getPartCount() ; ++i)
|
for (int i = 0 ; i < s->getPartCount() ; ++i)
|
||||||
{
|
{
|
||||||
vmime::ref <const vmime::net::part> part = s->getPartAt(i);
|
vmime::ref <const vmime::net::messagePart> part = s->getPartAt(i);
|
||||||
|
|
||||||
for (int j = 0 ; j < level * 2 ; ++j)
|
for (int j = 0 ; j < level * 2 ; ++j)
|
||||||
std::cout << " ";
|
std::cout << " ";
|
||||||
|
Loading…
Reference in New Issue
Block a user