From 00fdf0551501ac014fd03503507e77ef8149997b Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Tue, 6 Nov 2012 16:34:05 +0100 Subject: accept proxy port 65535 --- .../java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trunk/pdf-over-gui/src/main/java/at') diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java index ef7a8450..de6ef608 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java @@ -174,7 +174,7 @@ public class ConfigurationContainerImpl implements ConfigurationContainer { */ @Override public void setProxyPort(int port) throws InvalidPortException { - if(port > 0 && port < 0xFFFF) { + if(port > 0 && port <= 0xFFFF) { this.proxyPort = port; return; } -- cgit v1.2.3