Re: Function pn_message_encode() returns -2

2015-12-07 Thread aconway
e node addresses. So while your fix may solve your immediate problem it is not correct in general. Can you post a small C program that illustrates the error? That would help to figure out the problem. On Sun, 2015-12-06 at 23:36 -0700, sanddune008 wrote: > I see that following function pn_mess

Re: Function pn_message_encode() returns -2

2015-12-07 Thread sanddune008
I awaiting review comments.Kindly confirm. -- View this message in context: http://qpid.2158936.n2.nabble.com/Function-pn-message-encode-returns-2-tp7634948p7634950.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Function pn_message_encode() returns -2

2015-12-06 Thread sanddune008
I see that following function pn_message_encode() returns -2 with send.c example. My findings, Kindly review the below code: Changes made to fix is highlighted in bold, What is the significance of passing '1' first node? int *pni_data_traverse*(pn_data_t *data, int