Fixed: Allow ports above 32767

pull/21/head
Mark McDowall 12 years ago
parent edf06dda3e
commit 72c7fc2680

@ -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)

Loading…
Cancel
Save