On Thu, Dec 03, 2020 at 03:48:00PM +0100, Christian Weisgerber wrote:
> Claudio Jeker:
>
> > In tal_parse() use strndup() to create the tal descr instead of the more
> > complex malloc, memcpy version. Result is the same but the strndup version
> > is a lot nicer.
>
> Yes, but...
>
> > --- tal.c
Claudio Jeker:
> In tal_parse() use strndup() to create the tal descr instead of the more
> complex malloc, memcpy version. Result is the same but the strndup version
> is a lot nicer.
Yes, but...
> --- tal.c 11 Oct 2020 12:39:25 - 1.22
> +++ tal.c 3 Dec 2020 12:00:25 -
> @@
In tal_parse() use strndup() to create the tal descr instead of the more
complex malloc, memcpy version. Result is the same but the strndup version
is a lot nicer.
OK?
--
:wq Claudio
Index: tal.c
===
RCS file: /cvs/src/usr.sbin/rpki