Skip to content

Fix[ntcs::Interest]: print space separator correctly - #400

Open
678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:patch-21
Open

678098 wants to merge 1 commit into
bloomberg:mainfrom
678098:patch-21

Conversation

@678098

@678098 678098 commented May 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.

}

if ((d_value & e_READABLE) != 0) {
if (empty) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This condition is inverted: it only prints space before the first flag and print the rest without spaces, for example: READABLEWRITABLE

}
NTCS_CHECK_PRINT(e_READABLE, "READABLE");
NTCS_CHECK_PRINT(e_WRITABLE, "WRITABLE");
NTCS_CHECK_PRINT(e_ERROR, "ERROR");

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e_ERROR value was also missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant