tFix syntax error in main(). - tlstun - simple go program to add tls support to other listeners
HTML git clone https://git.parazyd.org/tlstun
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit daae2776c206bfcfa8eda866d780a6b243c1cce2
DIR parent 8f92728352341b64822b0a31c7cc0474f30f527d
HTML Author: parazyd <parazyd@dyne.org>
Date: Wed, 10 Jul 2019 02:07:30 +0200
Fix syntax error in main().
Diffstat:
M tlstun.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/tlstun.go b/tlstun.go
t@@ -119,7 +119,7 @@ func server() (net.Listener, error) {
func main() {
flag.Parse()
- if len(os.Args < 2) {
+ if len(os.Args) < 2 {
flag.Usage()
}