MB-21777: max_cas_str not formatting on Linux 98/70298/2
authorJim Walker <jim@couchbase.com>
Wed, 23 Nov 2016 15:28:05 +0000 (15:28 +0000)
committerDave Rigby <daver@couchbase.com>
Thu, 24 Nov 2016 15:04:27 +0000 (15:04 +0000)
commitb21b13b19c8fe200de5ae77cd6c1670b471f0cbe
tree406345e648191ee6ed7fd3144d96a190fbecedfc
parentceae5bdf9f32292366342c71a146bc90bf0275f3
MB-21777: max_cas_str not formatting on Linux

Seems an issue with snprintf where we use timeString as input and
output yields only the nanosecond fractions being printed.

Fix also reduces buffers down, they're still bigger than we need, but
100 is way too much.

Change-Id: Ief6755d15d4d77a10a6c14fb76321893a7dd0d9c
Reviewed-on: http://review.couchbase.org/70298
Reviewed-by: David Haikney <david.haikney@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
src/hlc.h