Skip to content

Fix incorrect error translation in SFTP#14

Merged
averne merged 1 commit intoaverne:masterfrom
ViRb3:sftp-err
Feb 24, 2026
Merged

Fix incorrect error translation in SFTP#14
averne merged 1 commit intoaverne:masterfrom
ViRb3:sftp-err

Conversation

@ViRb3
Copy link
Contributor

@ViRb3 ViRb3 commented Feb 24, 2026

Related to #8, I don't know if this resolves it or you want to debug why there were DNS issues in the first place. I opted for portability with the ifdef checks, can remove if you think it's too verbose.

@averne
Copy link
Owner

averne commented Feb 24, 2026

Thanks, looks good.
Could you remove the #define guards and just use the codes defined in the devkitPro environment? I wouldn't expect availability to change.
See https://github.com/devkitPro/newlib/blob/devkitPro/newlib/libc/sys/rtems/include/netdb.h#L161-L184

@ViRb3
Copy link
Contributor Author

ViRb3 commented Feb 24, 2026

Done.

@averne averne merged commit 73a86ee into averne:master Feb 24, 2026
1 check passed
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