You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2014/10/10 14:58:46 UTC
svn commit: r1630871 - in
/qpid/proton/branches/examples/proton-c/src/messenger: messenger.c
messenger.c.orig
Author: gsim
Date: Fri Oct 10 12:58:45 2014
New Revision: 1630871
URL: http://svn.apache.org/r1630871
Log:
PROTON-676: applied patch from dominic
Added:
qpid/proton/branches/examples/proton-c/src/messenger/messenger.c.orig
- copied, changed from r1630870, qpid/proton/branches/examples/proton-c/src/messenger/messenger.c
Modified:
qpid/proton/branches/examples/proton-c/src/messenger/messenger.c
Modified: qpid/proton/branches/examples/proton-c/src/messenger/messenger.c
URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/proton-c/src/messenger/messenger.c?rev=1630871&r1=1630870&r2=1630871&view=diff
==============================================================================
--- qpid/proton/branches/examples/proton-c/src/messenger/messenger.c (original)
+++ qpid/proton/branches/examples/proton-c/src/messenger/messenger.c Fri Oct 10 12:58:45 2014
@@ -239,7 +239,9 @@ static void pni_connection_readable(pn_s
}
}
} else {
- pn_transport_process(transport, (size_t) n);
+ int err = pn_transport_process(transport, (size_t)n);
+ if (err)
+ pn_error_copy(messenger->error, pn_transport_error(transport));
}
}
Copied: qpid/proton/branches/examples/proton-c/src/messenger/messenger.c.orig (from r1630870, qpid/proton/branches/examples/proton-c/src/messenger/messenger.c)
URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/proton-c/src/messenger/messenger.c.orig?p2=qpid/proton/branches/examples/proton-c/src/messenger/messenger.c.orig&p1=qpid/proton/branches/examples/proton-c/src/messenger/messenger.c&r1=1630870&r2=1630871&rev=1630871&view=diff
==============================================================================
(empty)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org