summaryrefslogtreecommitdiff
path: root/src/de
diff options
context:
space:
mode:
Diffstat (limited to 'src/de')
-rw-r--r--src/de/blinkt/openvpn/ConfigParser.java2
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);