Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ports higher than 32767 cause Exception #11

Closed
jeffkwiat opened this issue Aug 31, 2012 · 2 comments
Closed

Ports higher than 32767 cause Exception #11

jeffkwiat opened this issue Aug 31, 2012 · 2 comments
Assignees
Labels

Comments

@jeffkwiat
Copy link

Simple fix in Settings.cs:

public int Get(string xPath, int defaultValue)
{
        return Convert.ToInt16(Get(xPath, Convert.ToString(defaultValue)));
}

to:

public int Get(string xPath, int defaultValue)
{
        return Convert.ToUInt16(Get(xPath, Convert.ToString(defaultValue)));
}
@ghost ghost assigned JohnTheGr8 Sep 1, 2012
@JohnTheGr8
Copy link
Member

Will fix this... Thanks for pointing it out!

@JohnTheGr8
Copy link
Member

fixed in commit 43d16ea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants