Skip to content

Commit

Permalink
Merge pull request #104 from garlick/use_size_t
Browse files Browse the repository at this point in the history
track raw payload accessor API changes in core
  • Loading branch information
mergify[bot] authored Dec 11, 2024
2 parents 5ff05f3 + cc1057f commit 266ca25
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 266ca25

Please sign in to comment.