You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2017/10/12 14:42:03 UTC

qpid-proton git commit: PROTON-1624: Handle messages larger than 128 bytes

Repository: qpid-proton
Updated Branches:
  refs/heads/master e1425d8f0 -> 884ec562b


PROTON-1624: Handle messages larger than 128 bytes


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/884ec562
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/884ec562
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/884ec562

Branch: refs/heads/master
Commit: 884ec562ba7224ed05ff7bafcf966965a39026ab
Parents: e1425d8
Author: Chuck Rolke <cr...@redhat.com>
Authored: Thu Oct 12 10:38:23 2017 -0400
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Thu Oct 12 10:40:17 2017 -0400

----------------------------------------------------------------------
 examples/c/send.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/884ec562/examples/c/send.c
----------------------------------------------------------------------
diff --git a/examples/c/send.c b/examples/c/send.c
index 6e5966c..1af74f8 100644
--- a/examples/c/send.c
+++ b/examples/c/send.c
@@ -80,6 +80,7 @@ static pn_bytes_t encode_message(app_data_t* app) {
     app->message_buffer.size *= 2;
     app->message_buffer.start = (char*)realloc(app->message_buffer.start, app->message_buffer.size);
     mbuf.size = app->message_buffer.size;
+    mbuf.start = app->message_buffer.start;
   }
   if (status != 0) {
     fprintf(stderr, "error encoding message: %s\n", pn_error_text(pn_message_error(message)));


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