From 9f358c548039a955fbb883163717749a648a9cdc Mon Sep 17 00:00:00 2001 From: drbob Date: Sat, 12 Apr 2014 07:25:33 +0000 Subject: [PATCH] fixed printout of nxs items. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7268 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/serialiser/rsnxsitems.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libretroshare/src/serialiser/rsnxsitems.cc b/libretroshare/src/serialiser/rsnxsitems.cc index f57931ff2..43c8c926e 100644 --- a/libretroshare/src/serialiser/rsnxsitems.cc +++ b/libretroshare/src/serialiser/rsnxsitems.cc @@ -1174,9 +1174,9 @@ std::ostream& RsNxsSyncGrp::print(std::ostream &out, uint16_t indent) printIndent(out , int_Indent); out << "Sync Age: " << createdSince << std::endl; printIndent(out , int_Indent); - out << "flag" << flag << std::endl; + out << "flag: " << (uint32_t) flag << std::endl; printIndent(out , int_Indent); - out << "updateTS" << updateTS << std::endl; + out << "updateTS: " << updateTS << std::endl; printRsItemEnd(out ,"RsNxsSyncGrp", indent); @@ -1196,7 +1196,7 @@ std::ostream& RsNxsSyncMsg::print(std::ostream &out, uint16_t indent) printIndent(out , int_Indent); out << "syncHash: " << syncHash << std::endl; printIndent(out , int_Indent); - out << "flag: " << flag << std::endl; + out << "flag: " << (uint32_t) flag << std::endl; printIndent(out , int_Indent); out << "updateTS: " << updateTS << std::endl; @@ -1210,7 +1210,7 @@ std::ostream& RsNxsSyncGrpItem::print(std::ostream &out, uint16_t indent) uint16_t int_Indent = indent + 2; printIndent(out , int_Indent); - out << "flag: " << flag << std::endl; + out << "flag: " << (uint32_t) flag << std::endl; printIndent(out , int_Indent); out << "grpId: " << grpId << std::endl; printIndent(out , int_Indent); @@ -1230,7 +1230,7 @@ std::ostream& RsNxsSyncMsgItem::print(std::ostream &out, uint16_t indent) uint16_t int_Indent = indent + 2; printIndent(out , int_Indent); - out << "flag: " << flag << std::endl; + out << "flag: " << (uint32_t) flag << std::endl; printIndent(out , int_Indent); out << "grpId: " << grpId << std::endl; printIndent(out , int_Indent);