1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-02-14 12:20:55 +02:00

Fixed: Allow ports above 32767

This commit is contained in:
Mark McDowall 2012-12-31 13:09:43 -08:00
parent edf06dda3e
commit 72c7fc2680

View File

@ -548,7 +548,7 @@ namespace NzbDrone.Core.Providers.Core
private int GetValueInt(string key, int defaultValue = 0)
{
return Convert.ToInt16(GetValue(key, defaultValue));
return Convert.ToInt32(GetValue(key, defaultValue));
}
public virtual string GetValue(string key, object defaultValue, bool persist = false)