You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2020/07/02 12:58:06 UTC

[qpid-proton] branch array-of-lists-first-list-empty updated: PROTON-2244: Minor correction to comment text

This is an automated email from the ASF dual-hosted git repository.

kpvdr pushed a commit to branch array-of-lists-first-list-empty
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/array-of-lists-first-list-empty by this push:
     new a35187c  PROTON-2244: Minor correction to comment text
a35187c is described below

commit a35187cfd699abc884ef389c0bdfb3e2bf1d879a
Author: Kim van der Riet <kp...@apache.org>
AuthorDate: Thu Jul 2 08:57:51 2020 -0400

    PROTON-2244: Minor correction to comment text
---
 c/src/core/encoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/core/encoder.c b/c/src/core/encoder.c
index 983d3d4..472ea3b 100644
--- a/c/src/core/encoder.c
+++ b/c/src/core/encoder.c
@@ -336,7 +336,7 @@ static int pni_encoder_exit(void *ctx, pn_data_t *data, pni_node_t *node)
   pn_encoder_t *encoder = (pn_encoder_t *) ctx;
   char *pos;
 
-  // Special case 0 length list, but not as first element in an array
+  // Special case 0 length list, but not as element in an array
   pni_node_t *parent = pn_data_node(data, node->parent);
   if (node->atom.type==PN_LIST && node->children-encoder->null_count==0 && !pn_is_in_array(data, parent, node)) {
     encoder->position = node->start-1; // position of list opcode


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org