another changed behaviour

Gary E. Miller gem at rellim.com
Mon Feb 4 21:08:42 UTC 2019


Yo Achim!

On Mon, 04 Feb 2019 22:06:27 +0100
Achim Gratz via devel <devel at ntpsec.org> wrote:

> Gary E. Miller via devel writes:
> > The end result is:
> >
> >         char buffer[200];
> >         char buf[50];
> >
> >         strlcpy(buffer, tag, sizeof(buffer));
> >         snprintf(buf, sizeof(buf), use_f ? "=%.*f" : "%.*g",
> > precision, d); strlcat(buffer, buf, sizeof(buffer));
> >
> >         ctl_putdata(buffer, strlen(buffer), false);
> >
> > Am I missing something very obvious?  
> 
> I have no idea.  But reverting that commit on top of current master
> brings the output back to normal.

I found it.  Stupid typo.  Fix coming.

Once again: thanks for the bisect.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190204/4acb27e2/attachment.bin>


More information about the devel mailing list