Explorar el Código

vhost: typo fix

fatedier hace 7 años
padre
commit
82dc1e924f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      utils/vhost/https.go

+ 1 - 1
utils/vhost/https.go

@@ -108,7 +108,7 @@ func readHandshake(rd io.Reader) (host string, err error) {
 		return
 	}
 	if len(data) < 2 {
-		err = fmt.Errorf("readHandshake: extension dataLen[%d] is too short")
+		err = fmt.Errorf("readHandshake: extension dataLen[%d] is too short", len(data))
 		return
 	}