You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Rafael H. Schloming (JIRA)" <ji...@apache.org> on 2014/04/10 12:37:16 UTC
[jira] [Resolved] (PROTON-559) typo prevents compilation of
posix/io.c on OSX
[ 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)