mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-04-28 02:40:02 +00:00
closes #650: fix port numbers > 32767
This commit is contained in:
parent
f091debf61
commit
0da0ec9f95
@ -1182,7 +1182,7 @@ nsIOService::SetConnectivityInternal(bool aConnectivity)
|
||||
NS_IMETHODIMP
|
||||
nsIOService::AllowPort(int32_t inPort, const char *scheme, bool *_retval)
|
||||
{
|
||||
int16_t port = inPort;
|
||||
int32_t port = inPort;
|
||||
if (port == -1) {
|
||||
*_retval = true;
|
||||
return NS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user