Skip to content

Commit

Permalink
cli: fix spacing for port range error
Browse files Browse the repository at this point in the history
PR-URL: #54495
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
RedYetiDev authored and targos committed Oct 4, 2024
1 parent 39a728c commit a97841e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,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

0 comments on commit a97841e

Please sign in to comment.