Skip to content
Merged
Changes from all commits
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
cli: fix spacing for port range error
  • Loading branch information
avivkeller authored Aug 22, 2024
commit dcb3f1ddca33aeec8e7bddb99e34751a992630fa
2 changes: 1 addition & 1 deletion src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ inline uint16_t ParseAndValidatePort(const std::string_view port,

if (r.ec == std::errc::result_out_of_range ||
(result != 0 && result < 1024)) {
errors->push_back(" must be 0 or in range 1024 to 65535.");
errors->push_back("must be 0 or in range 1024 to 65535.");
}

return result;
Expand Down