diff options
author | amadeuszpawlik <apawlik@protonmail.com> | 2021-05-27 13:53:42 +0200 |
---|---|---|
committer | Amadeusz Pawlik <amadeusz.pawlik@getinge.com> | 2022-10-05 19:24:04 +0200 |
commit | f8387c42343867779170a0f96ef64e6acff5c481 (patch) | |
tree | 933d692d3f7077fd271b482d124e903e54963771 /src/util/check.cpp | |
parent | 5e82b9ba96b6c5614a1187382a086e5694dff544 (diff) |
Validate port value in `SplitHostPort`
Forward the validation of the port from `ParseUInt16(...)`.
Consider port 0 as invalid.
Add suitable test for the `SplitHostPort` function.
Add doxygen description to the `SplitHostPort` function.
Diffstat (limited to 'src/util/check.cpp')
0 files changed, 0 insertions, 0 deletions