Skip to content

Commit

Permalink
track raw payload accessor API changes in core
Browse files Browse the repository at this point in the history
Problem: the raw message payload interfaces are changing to use
a size_t instead of int.

Update usage in interthread.

flux-framework/flux-core#6467 must be merged before this will pass CI.
  • Loading branch information
garlick committed Dec 10, 2024
1 parent 5ff05f3 commit cc1057f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/shell/plugins/interthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,13 @@ static void interthread_recv (flux_reactor_t *r,
}
if (it->trace_flag) {
const char *payload;
int size;
size_t size;
if (flux_msg_get_payload (msg, (const void **)&payload, &size) == 0
&& size > 0)
shell_trace ("pmix server %s %.*s", topic, size - 1, payload);
shell_trace ("pmix server %s %.*s",
topic,
(int)size - 1,
payload);
}
for (i = 0; i < it->handler_count; i++) {
if (!strcmp (topic, it->handlers[i].topic))
Expand Down

0 comments on commit cc1057f

Please sign in to comment.