Author: kpvdr
Date: 2009-07-30 13:37:11 -0400 (Thu, 30 Jul 2009)
New Revision: 3528
Modified:
store/trunk/cpp/lib/jrnl/rmgr.cpp
Log:
Minor change in format for JERR_RMGR_RIDMISMATCH message
Modified: store/trunk/cpp/lib/jrnl/rmgr.cpp
===================================================================
--- store/trunk/cpp/lib/jrnl/rmgr.cpp 2009-07-30 14:06:48 UTC (rev 3527)
+++ store/trunk/cpp/lib/jrnl/rmgr.cpp 2009-07-30 17:37:11 UTC (rev 3528)
@@ -181,10 +181,8 @@
if (_hdr._rid != dtokp->rid())
{
std::ostringstream oss;
- oss << std::hex << std::setfill('0');
- oss << "rid=0x" << std::setw(16)
<< _hdr._rid;
- oss << "; dtok_rid=" << std::setw(16)
<< dtokp->rid();
- oss << "; dtok_id=0x" << std::setw(8)
<< dtokp->id();
+ oss << std::hex << "rid=0x" <<
_hdr._rid << "; dtok_rid=0x" << dtokp->rid()
+ << "; dtok_id=0x" <<
dtokp->id();
throw jexception(jerrno::JERR_RMGR_RIDMISMATCH, oss.str(),
"rmgr", "read");
}
}
Show replies by date