diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-07-01 21:08:17 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-07-01 21:08:17 +0200 |
commit | d88496f07bab09728572643d15cf86c7c7606bbc (patch) | |
tree | bb0f38defcde298fc0b3a8b7ecdc73aabfb8f20d /src/de/blinkt | |
parent | 6ae2a24edf3255f998ffee8cd6d79e25557f5572 (diff) |
Correct error message for number of arguments
Diffstat (limited to 'src/de/blinkt')
-rw-r--r-- | src/de/blinkt/openvpn/ConfigParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java index 913fda24..44af2cdc 100644 --- a/src/de/blinkt/openvpn/ConfigParser.java +++ b/src/de/blinkt/openvpn/ConfigParser.java @@ -494,7 +494,7 @@ public class ConfigParser { if(optionline.size()< (minarg+1) || optionline.size() > maxarg+1) { String err = String.format("Option %s has %d parameters, expected between %d and %d", - option,args.size()-1,minarg,maxarg ); + option,optionline.size()-1,minarg,maxarg ); throw new ConfigParseError(err); } options.remove(option); |