On 17/07/12 18:25, Heiko Hund wrote:
> WSAGetLastError() is just a wrapper for GetLastError(). So, there's
> no need to differentiate between socket related and other errors.
> 
> This patch removes all special handling of socket errors in favor
> of simplifying the codebase somewhat.
> 
> Signed-off-by: Heiko Hund <[email protected]>
> ---
>  src/openvpn/error.c  |    9 ++-----
>  src/openvpn/error.h  |    4 ---
>  src/openvpn/fdmisc.c |    2 +-
>  src/openvpn/manage.c |    4 +-
>  src/openvpn/proxy.c  |   10 ++++----
>  src/openvpn/ps.c     |    6 ++--
>  src/openvpn/socket.c |   56 
> +++++++++++++++++++++++++-------------------------
>  src/openvpn/socket.h |    2 +-
>  src/openvpn/socks.c  |   26 +++++++++++-----------
>  src/openvpn/win32.c  |    6 ++--
>  10 files changed, 59 insertions(+), 66 deletions(-)
> 

Applied to master.

commit 910675de28956cf8d028aed727486b64747362fb
Author: Heiko Hund <[email protected]>
List-Post: [email protected]
Date:   Tue Jul 17 18:25:16 2012 +0200

    don't treat socket related errors special anymore
    
    Signed-off-by: Heiko Hund <[email protected]>
    Acked-by: Gert Doering <[email protected]>
    Message-Id: [email protected]
    URL: http://article.gmane.org/gmane.network.openvpn.devel/6876
    Signed-off-by: David Sommerseth <[email protected]>


kind regards,

David Sommerseth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to