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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
RedYetiDev authored Sep 18, 2024
1 parent 5e87577 commit 65768bc
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 @@ -1165,7 +1165,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 65768bc

Please sign in to comment.