1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 01:57:21 +00: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 @@ private bool GetValueBoolean(string key, bool defaultValue = false)
private int GetValueInt(string key, int defaultValue = 0) 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) public virtual string GetValue(string key, object defaultValue, bool persist = false)