diff options
author | Moonchild <moonchild@palemoon.org> | 2021-05-12 20:25:55 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-05-12 20:25:55 +0000 |
commit | e983389355c928c5fd6f95af9aa383514f43b8f1 (patch) | |
tree | 6507ae4c6bf9481645fc18f33f6870efa43bfb9f /netwerk | |
parent | 2b7197465de7b99096d1126ab280469387aeca57 (diff) | |
download | uxp-e983389355c928c5fd6f95af9aa383514f43b8f1.tar.gz |
[network] Fix typo in port blocking range check.
This fixes a typo in 5e705bd5059da5b7a39e3a096b7c7f59cb466730
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/base/nsIOService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp index 55f40a41ef..d04b3cef12 100644 --- a/netwerk/base/nsIOService.cpp +++ b/netwerk/base/nsIOService.cpp @@ -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; } |