summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 15:45:07 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 15:45:07 -0800
commita7c3fde789b0f15f0ccf650e59dc352451fc4e4a (patch)
tree786141a15406dde9b98b4134b6433f3cb985a115 /indra
parent43218577740fa97a99160008568e6e0a36f892e5 (diff)
partial fix for CID-219
Checker: STREAM_FORMAT_STATE Function: LLDate::toStream(std::basic_ostream<char, std::char_traits<char>>&) const File: /indra/llcommon/lldate.cpp
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/lldate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/lldate.cpp b/indra/llcommon/lldate.cpp
index ca7e471bf2..e3323fcfbf 100644
--- a/indra/llcommon/lldate.cpp
+++ b/indra/llcommon/lldate.cpp
@@ -152,7 +152,8 @@ void LLDate::toStream(std::ostream& s) const
s << '.' << std::setw(2)
<< (int)(exp_time.tm_usec / (LL_APR_USEC_PER_SEC / 100));
}
- s << 'Z';
+ s << 'Z'
+ << setfill(' ');
}
bool LLDate::split(S32 *year, S32 *month, S32 *day, S32 *hour, S32 *min, S32 *sec) const