summaryrefslogtreecommitdiff
path: root/obfs4proxy
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2014-05-12 00:06:52 +0000
committerYawning Angel <yawning@schwanenlied.me>2014-05-12 00:06:52 +0000
commit68c48cb383893e17a7dec5adefa3e6bb11ee51eb (patch)
tree57e7aae10907b2f0b6f04834016102b768a73425 /obfs4proxy
parent8e14ed44ad6ac76fd22e5d454824663f4a5f175f (diff)
Run go fmt on obfs4proxy.go (No functional changes).
Diffstat (limited to 'obfs4proxy')
-rw-r--r--obfs4proxy/obfs4proxy.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/obfs4proxy/obfs4proxy.go b/obfs4proxy/obfs4proxy.go
index f0d9595..15bc79c 100644
--- a/obfs4proxy/obfs4proxy.go
+++ b/obfs4proxy/obfs4proxy.go
@@ -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