summaryrefslogtreecommitdiff
path: root/bitmask/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'bitmask/main.go')
-rw-r--r--bitmask/main.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/bitmask/main.go b/bitmask/main.go
index a78ffab..a044c58 100644
--- a/bitmask/main.go
+++ b/bitmask/main.go
@@ -18,7 +18,6 @@ package bitmask
import (
"encoding/json"
"errors"
- "fmt"
"log"
"time"
@@ -26,9 +25,7 @@ import (
)
const (
- // On win should be: tcp://127.0.0.1:5001
- coreEndpoint = "ipc://%s/bitmask.core.sock"
- timeout = time.Second * 15
+ timeout = time.Second * 15
)
// Bitmask holds the bitmask client data
@@ -101,7 +98,6 @@ func initCore() (*zmq4.Socket, error) {
return nil, err
}
- endpointPwd := "/var/tmp"
- err = socket.Connect(fmt.Sprintf(coreEndpoint, endpointPwd))
+ err = socket.Connect(coreEndpoint)
return socket, err
}