mirror of
https://gitlab.com/yawning/obfs4.git
synced 2024-11-07 09:20:30 +00:00
Run go fmt on obfs4proxy.go (No functional changes).
This commit is contained in:
parent
8e14ed44ad
commit
68c48cb383
@ -59,13 +59,13 @@ import (
|
||||
"sync"
|
||||
"syscall"
|
||||
|
||||
"git.torproject.org/pluggable-transports/goptlib.git"
|
||||
"github.com/yawning/obfs4"
|
||||
"github.com/yawning/obfs4/ntor"
|
||||
"git.torproject.org/pluggable-transports/goptlib.git"
|
||||
)
|
||||
|
||||
const (
|
||||
obfs4Method = "obfs4"
|
||||
obfs4Method = "obfs4"
|
||||
obfs4LogFile = "obfs4proxy.log"
|
||||
)
|
||||
|
||||
@ -160,7 +160,7 @@ func serverSetup() bool {
|
||||
|
||||
// Initialize the listener.
|
||||
ln, err := obfs4.Listen("tcp", bindaddr.Addr.String(), nodeID,
|
||||
privateKey)
|
||||
privateKey)
|
||||
if err != nil {
|
||||
pt.SmethodError(bindaddr.MethodName, err.Error())
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user