Hi,

-            msg(M_NONFATAL, "Failed to register ring buffers: %lu",
> GetLastError());
>
<skip>

> +            switch (GetLastError())
>
<skip>

> +                default:
> +                    msg(M_NONFATAL | M_ERRNO, "Failed to register ring
> buffers");
>

I think it would make sense to print the error code / error message (with
strerror_win32) in the "default" case.
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to