mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
[network] Fix typo in port blocking range check.
This fixes a typo in 5e705bd5059da5b7a39e3a096b7c7f59cb466730
This commit is contained in:
parent
52b1a20bcf
commit
98f29e4737
1 changed files with 1 additions and 1 deletions
|
|
@ -1210,7 +1210,7 @@ nsIOService::AllowPort(int32_t inPort, const char *scheme, bool *_retval)
|
|||
}
|
||||
|
||||
// Ensure the port number is within a valid range
|
||||
if (port <= 0 || port >= std::numeric_limits<uint16_t>::max()) {
|
||||
if (port <= 0 || port > std::numeric_limits<uint16_t>::max()) {
|
||||
*_retval = false;
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue