summaryrefslogtreecommitdiffstats
path: root/cmd/daemon/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/daemon/main.go')
-rw-r--r--cmd/daemon/main.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd/daemon/main.go b/cmd/daemon/main.go
index ad503c5..b344caf 100644
--- a/cmd/daemon/main.go
+++ b/cmd/daemon/main.go
@@ -45,9 +45,7 @@ func handle(conn net.Conn) {
return
}
- test := core.Test{Message: "solec kujawski jest zajebisty"}
- if err := core.Send(conn, core.TypeTest, test); err != nil {
- log.Print("cannot send test message ", err)
- return
+ if err := core.Loop(conn); err != nil {
+ log.Fatal("event loop error ", err)
}
}