Skip to content

curlx_inet_pton: drop setting errno on error - #22607

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:pton
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:pton

Conversation

@vszakats

Copy link
Copy Markdown
Member

Follow-up to bb40638 #22229

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes errno mutation when curlx_inet_pton() receives an unsupported address family.

Changes:

  • Removes the Windows-specific errno documentation.
  • Returns -1 without setting errno.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/curlx/inet_pton.c
@vszakats vszakats closed this in a01a24d Aug 17, 2026
@vszakats
vszakats deleted the pton branch August 17, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants