You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Dominic Evans (JIRA)" <ji...@apache.org> on 2014/09/11 11:56:33 UTC

[jira] [Updated] (PROTON-578) proton-c: windows/io.c prints "Unknown error" for all winsock errors

     [ https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominic Evans updated PROTON-578:
---------------------------------
    Attachment:     (was: 17_fix_winsock_error_code_printing.patch)

> proton-c: windows/io.c prints "Unknown error" for all winsock errors
> --------------------------------------------------------------------
>
>                 Key: PROTON-578
>                 URL: https://issues.apache.org/jira/browse/PROTON-578
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.7
>            Reporter: Dominic Evans
>            Assignee: Cliff Jansen
>         Attachments: 10_fix_winsock_error_code_printing.patch
>
>
> The code in windows/io.c is attempting to call strerror on Winsock WSA error codes returned by WSAGetLastError(). However, these codes don't map to Unix errno codes, so will always output an "Unknown error" msg.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)