From 346c64c7051806c1714540aa507190601a5b08ea Mon Sep 17 00:00:00 2001 From: Narate Taerat Date: Mon, 30 Oct 2023 20:43:29 +0000 Subject: [PATCH] Fix typo in ldms_stream_cb (LDMS_STREAM_EVENT_UNSUBSCRIBE_STATUS) This was a copy-paste typo. It should be LDMS_STREAM_EVENT_UNSUBSCRIBE_STATUS, not LDMS_STREAM_EVENT_SUBSCRIBE_STATUS. --- ldms/src/core/ldms_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldms/src/core/ldms_stream.c b/ldms/src/core/ldms_stream.c index ad688faf4..3f42cfcad 100644 --- a/ldms/src/core/ldms_stream.c +++ b/ldms/src/core/ldms_stream.c @@ -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");