Re: [hackers] [PATCH] remove useless c->next = NULL

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 17 Jan 2020 14:55:45 +0100

On Fri, Jan 17, 2020 at 02:06:13PM +0100, David Demelier wrote:
> ---
> ii.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ii.c b/ii.c
> index ef33ed5..7ca3ee8 100644
> --- a/ii.c
> +++ b/ii.c
> _AT_@ -234,7 +234,7 @@ channel_new(const char *name)
> fprintf(stderr, "%s: calloc: %s\n", argv0, strerror(errno));
> exit(1);
> }
> - c->next = NULL;
> +
> strlcpy(c->name, name, sizeof(c->name));
> channel_normalize_name(c->name);
>
> --
> 2.24.1
>
>

Pushed, thanks.

-- 
Kind regards,
Hiltjo
Received on Fri Jan 17 2020 - 14:55:45 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 17 2020 - 15:00:28 CET