Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor logging fixes in xrdp_iso.c #2152

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

Nexarian
Copy link
Contributor

Two logging errors found while working in these files.

@@ -428,7 +428,7 @@ xrdp_iso_send_cc(struct xrdp_iso *self)
out_uint16_le(s, 8); /* length (must be 8) */
out_uint32_le(s, self->selectedProtocol); /* selectedProtocol */
LOG_DEVEL(LOG_LEVEL_TRACE, "Adding structure [MS-RDPBCGR] RDP_NEG_RSP "
"flags 0, length 8, selectedProtocol 0x%8.8x",
"flags 0x01, length 8, selectedProtocol 0x%8.8x",
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't it be better to use EXTENDED_CLIENT_DATA_SUPPORTED here as that's what's in the code (e.g.):-

                      "flags 0x%02x, length 8, selectedProtocol 0x%8.8x",
                      EXTENDED_DATA_SUPPORTED,
                      self->selectedProtocol);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, updated!

Two logging errors found while working in these files.
@matt335672 matt335672 merged commit 4030dba into neutrinolabs:devel Feb 16, 2022
@matt335672
Copy link
Member

Thanks @Nexarian!

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.

2 participants