Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
editing typo fix
  • Loading branch information
gpshead committed Feb 14, 2023
commit ba807444ce8b14adab79ac8ab5122ebb9299d6fd
2 changes: 1 addition & 1 deletion Modules/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ getaddrinfo(const char*hostname, const char*servname,
if (maybe_port < 0 || maybe_port > 0xffff) {
ERR(EAI_SERVICE);
}
port = htons((u_short)result);
port = htons((u_short)maybe_port);
} else {
struct servent *sp;
const char *proto;
Expand Down