Skip to content

curl_addrinfo: drop redundant parentheses - #22810

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

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

Conversation

@vszakats

@vszakats vszakats commented Sep 2, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot added the name lookup DNS and related tech label Sep 2, 2026
@vszakats
vszakats requested a balanced review from Copilot September 2, 2026 22:13

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.

🟢 Approval recommended

The change is behavior-preserving, and no unresolved issues were found.

Pull request overview

Removes redundant parentheses around address-family casts in Curl_he2ai without changing behavior.

Changes:

  • Simplifies IPv4 and IPv6 sin_family assignments.
File summaries
File Description
lib/curl_addrinfo.c Removes redundant parentheses from two casts.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

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

@vszakats vszakats closed this in 0d68a05 Sep 3, 2026
@vszakats
vszakats deleted the redpar2 branch September 3, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

name lookup DNS and related tech

Development

Successfully merging this pull request may close these issues.

2 participants