qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael H. Schloming (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PROTON-559) typo prevents compilation of posix/io.c on OSX
Date Thu, 10 Apr 2014 10:37:16 GMT

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

Rafael H. Schloming resolved PROTON-559.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7
         Assignee: Rafael H. Schloming

> typo prevents compilation of posix/io.c on OSX
> ----------------------------------------------
>
>                 Key: PROTON-559
>                 URL: https://issues.apache.org/jira/browse/PROTON-559
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.7
>            Reporter: Bozo Dragojevic
>            Assignee: Rafael H. Schloming
>             Fix For: 0.7
>
>
> diff --git a/proton-c/src/posix/io.c b/proton-c/src/posix/io.c
> index c6de09e..11379ff 100644
> --- a/proton-c/src/posix/io.c
> +++ b/proton-c/src/posix/io.c
> @@ -229,7 +229,7 @@ static inline int pn_create_socket(int af) {
>  }
>  #elif defined(SO_NOSIGPIPE)
>  ssize_t pn_send(pn_io_t *io, pn_socket_t socket, const void *buf, size_t size) {
> -  ssize_t count = return send(socket, buf, len, 0);
> +  ssize_t count = send(socket, buf, size, 0);
>    io->wouldblock = count < 0 && (errno == EAGAIN || errno == EWOULDBLOCK);
>    return count;
>  }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message