Skip to content

Commit

Permalink
Updated output logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dliv3 committed Mar 8, 2019
1 parent ee5756f commit 1a9ca1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/dispather/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var ERR_FILE_NOT_EXISTS = errors.New("remote file not exists")
func AgentClient(conn net.Conn) {
result, peerNode := node.ClentInitConnection(conn)
if result {
log.Println("[+]Connect to a new node success")
log.Println("[+]Successfully connects to a new node")
go node.CurrentNode.CommandHandler(peerNode)
}
}
Expand All @@ -37,7 +37,7 @@ func AgentServer(conn net.Conn) {
log.Println("[+]Remote connection: ", conn.RemoteAddr())
result, peerNode := node.ServerInitConnection(conn)
if result {
log.Println("[+]A new node connect to this node success")
log.Println("[+]A new node successfully connects to this node")
go node.CurrentNode.CommandHandler(peerNode)
}
}
Expand Down

0 comments on commit 1a9ca1f

Please sign in to comment.