Hi,

On Thu, Jul 20, 2017 at 12:51:53PM +0200, Steffan Karger wrote:
>      if ((flags & M_ERRNO) && e)
>      {
>          openvpn_snprintf(m2, ERR_BUF_SIZE, "%s: %s (errno=%d)",
> -                         m1, strerror_ts(e, &gc), e);
> +                         m1, strerror(e, &gc), e);

Can I have a v4, please...?

> -                    strerror_ts(my_errno, &gc),
> -                    my_errno);
> +                    extended_msg, strerror(my_errno, &gc), my_errno);

... with strerror() calls that do not carry a &gc...

(Why is that not exploding in your compile tests?)

thanks,

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to