You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2018/03/06 15:47:11 UTC
[2/4] qpid-proton git commit: NO-JIRA: [c-examples] Fix typos in in
broker.c example comments
NO-JIRA: [c-examples] Fix typos in in broker.c example comments
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/20c14188
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/20c14188
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/20c14188
Branch: refs/heads/master
Commit: 20c141885d1c9f8d5789a3ec23f49635d8965660
Parents: 06c3d6e
Author: Alan Conway <ac...@redhat.com>
Authored: Mon Mar 5 16:44:52 2018 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue Mar 6 09:58:49 2018 -0500
----------------------------------------------------------------------
examples/c/broker.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/20c14188/examples/c/broker.c
----------------------------------------------------------------------
diff --git a/examples/c/broker.c b/examples/c/broker.c
index 23a91b1..e401edd 100644
--- a/examples/c/broker.c
+++ b/examples/c/broker.c
@@ -106,7 +106,7 @@ static void queue_destroy(queue_t *q) {
free(q->name);
}
-/* Send a message on s, or record s as eating if no messages.
+/* Send a message on s, or record s as waiting if there are no messages to send.
Called in s dispatch loop, assumes s has credit.
*/
static void queue_send(queue_t *q, pn_link_t *s) {
@@ -132,7 +132,7 @@ static void queue_send(queue_t *q, pn_link_t *s) {
pn_delivery_t *d = pn_delivery(s, pn_dtag((char*)&tag, sizeof(tag)));
pn_link_send(s, m.start, m.size);
pn_link_advance(s);
- pn_delivery_settle(d); /* Pre-settled: unreliable, there will bea no ack/ */
+ pn_delivery_settle(d); /* Pre-settled: unreliable, there will be no ack/ */
free(m.start);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org