Skip to content

Commit

Permalink
Fix typo in ldms_stream_cb (LDMS_STREAM_EVENT_UNSUBSCRIBE_STATUS)
Browse files Browse the repository at this point in the history
This was a copy-paste typo. It should be
LDMS_STREAM_EVENT_UNSUBSCRIBE_STATUS, not
LDMS_STREAM_EVENT_SUBSCRIBE_STATUS.
  • Loading branch information
narategithub authored and tom95858 committed Jun 3, 2024
1 parent 437ecf5 commit 346c64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldms/src/core/ldms_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ void __stream_reply_recv(ldms_t x, int cmd, struct ldms_reply *reply)
__process_stream_subunsub_reply(x, reply, LDMS_STREAM_EVENT_SUBSCRIBE_STATUS);
break;
case LDMS_CMD_STREAM_UNSUB_REPLY:
__process_stream_subunsub_reply(x, reply, LDMS_STREAM_EVENT_SUBSCRIBE_STATUS);
__process_stream_subunsub_reply(x, reply, LDMS_STREAM_EVENT_UNSUBSCRIBE_STATUS);
break;
default:
assert(0 == "Unexpected reply");
Expand Down

0 comments on commit 346c64c

Please sign in to comment.