Skip to content

Commit

Permalink
Fix ldmsd_stream_publish bug: missing auth_opt
Browse files Browse the repository at this point in the history
`ldmsd_stream_publish` processed '-A ...' option into `auth_opt` but
forgot to apply `auth_opt` to `ldms_xprt_new_with_auth()`.
  • Loading branch information
narategithub committed Jul 17, 2023
1 parent a0eed89 commit 55c727b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldms/src/ldmsd/test/ldmsd_stream_publish.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ int main(int argc, char **argv)
ldms_t ldms = NULL;

/* Create a transport endpoint */
ldms = ldms_xprt_new_with_auth(xprt, auth, NULL);
ldms = ldms_xprt_new_with_auth(xprt, auth, auth_opt);
if (!ldms) {
rc = errno;
printf("Failed to create the LDMS transport endpoint.\n");
Expand Down

0 comments on commit 55c727b

Please sign in to comment.