Skip to content

Commit

Permalink
UCP/TAG: Fix debug data for unexpected receive
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Sep 16, 2020
1 parent f400075 commit 4e52a03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ucp/tag/tag_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

static UCS_F_ALWAYS_INLINE void
ucp_tag_recv_request_completed(ucp_worker_h worker, ucp_request_t *req,
ucs_status_t status, ucp_tag_recv_info_t *info,
const char *function)
void *buffer, ucs_status_t status,
ucp_tag_recv_info_t *info, const char *function)
{
ucs_trace_req("%s returning completed request %p (%p) stag 0x%"PRIx64" len %zu, %s",
function, req, req + 1, info->sender_tag, info->length,
Expand Down Expand Up @@ -122,8 +122,8 @@ ucp_tag_recv_common(ucp_worker_h worker, void *buffer, size_t count,
if (req_flags & UCP_REQUEST_FLAG_CALLBACK) {
cb(req + 1, status, &req->recv.tag.info);
}
ucp_tag_recv_request_completed(worker, req, status, &req->recv.tag.info,
debug_name);
ucp_tag_recv_request_completed(worker, req, buffer, status,
&req->recv.tag.info, debug_name);
return;
}

Expand Down

0 comments on commit 4e52a03

Please sign in to comment.