qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [18/50] qpid-proton git commit: PROTON-1624: Handle messages larger than 128 bytes
Date Thu, 19 Oct 2017 12:40:04 GMT
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/go1
Commit: 884ec562ba7224ed05ff7bafcf966965a39026ab
Parents: e1425d8
Author: Chuck Rolke <crolke@redhat.com>
Authored: Thu Oct 12 10:38:23 2017 -0400
Committer: Chuck Rolke <crolke@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


Mime
View raw message