[PATCH 1/6] Add a missing va_end() call

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Jul 31 21:28:07 BST 2018


Hi,

thanks. Series pushed to https://salsa.debian.org/minicom-team/minicom.

Adam

On Mon Jul 30, 2018 at 17:11:07 +0200, Ondřej Lysoněk wrote:
> Signed-off-by: Ondřej Lysoněk <olysonek at redhat.com>
> ---
>  src/common.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/common.c b/src/common.c
> index 1f4f20c..c70de18 100644
> --- a/src/common.c
> +++ b/src/common.c
> @@ -76,6 +76,7 @@ void do_log(const char *line, ...)
>  	  (ptr->tm_year)+1900, (ptr->tm_mon)+1, ptr->tm_mday,
>  	  ptr->tm_hour, ptr->tm_min, ptr->tm_sec);
>    vfprintf(logfile, line, ap);
> +  va_end(ap);
>    fprintf(logfile, "\n");
>    fclose(logfile);
>  #else
> -- 
> 2.14.4



More information about the minicom-devel mailing list