Fixed: Allow ports above 32767

This commit is contained in:
Mark McDowall 2012-12-31 13:09:43 -08:00
parent edf06dda3e
commit 72c7fc2680
1 changed files with 1 additions and 1 deletions

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)