[PATCH] lib/util: Add optional format argument to timeval_str_buf()

Martin Schwenke martin at meltin.net
Wed Oct 8 23:36:17 MDT 2014


A simple patch to allow the format for most of the timeval_str_buf()
output to be optionally specified.  NULL means use the current default.

Please review and push if OK.

I'm thinking of another patch that allows a placeholder (e.g. "######")
to indicate where the usecs should go when hires is specified...  :-)

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba.patches
Type: application/octet-stream
Size: 2866 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141009/d90a8014/attachment.obj>


More information about the samba-technical mailing list