Skip to content

fix(client): correct binding and error macro in SendInitiateFileCopy arm#1390

Merged
Richard Markiewicz (thenextman) merged 1 commit into
Devolutions:masterfrom
lamco-admin:fix/cliprdr-client-initiate-file-copy
Jun 30, 2026
Merged

fix(client): correct binding and error macro in SendInitiateFileCopy arm#1390
Richard Markiewicz (thenextman) merged 1 commit into
Devolutions:masterfrom
lamco-admin:fix/cliprdr-client-initiate-file-copy

Conversation

@glamberson

Copy link
Copy Markdown
Contributor

The ClipboardMessage::SendInitiateFileCopy arm in the clipboard event handler refers to a cliprdr binding and a session::custom_err! macro that are not in scope. The surrounding handler binds the processor as cliprdr_client, and every other arm in the same match uses ironrdp_session::custom_err!. With the clipboard feature enabled this fails to compile:

error[E0425]: cannot find value `cliprdr` in this scope
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `session`

so master does not build with the clipboard feature on. This aligns the arm with its siblings.

Verified with cargo check -p ironrdp-client --features rustls,clipboard.

The ClipboardMessage::SendInitiateFileCopy arm in the clipboard event
handler refers to a cliprdr binding and a session::custom_err! macro that
are not in scope. The surrounding handler binds the processor as
cliprdr_client, and every other arm uses ironrdp_session::custom_err!.
With the clipboard feature enabled this fails to compile (E0425 for
cliprdr, E0433 for session), so master does not build. Align the arm with
its siblings.

Verified with cargo check -p ironrdp-client --features rustls,clipboard.
@thenextman Richard Markiewicz (thenextman) merged commit b407c6f into Devolutions:master Jun 30, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants