diff options
| author | Kevin Wallace <kevin@pentabarf.net> | 2026-04-26 10:29:08 -0700 |
|---|---|---|
| committer | Kevin Wallace <kevin@pentabarf.net> | 2026-04-26 10:43:21 -0700 |
| commit | eb13241672e34b7d982f0644aa9bced34edcf493 (patch) | |
| tree | 8646d45d5ea6dbae51b6f43b0d1ed9b3d3d4f633 /cmd/cvend-ipp | |
| parent | cvend wip (diff) | |
Diffstat (limited to 'cmd/cvend-ipp')
| -rw-r--r-- | cmd/cvend-ipp/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cvend-ipp/main.go b/cmd/cvend-ipp/main.go index a985dc6..b8782d4 100644 --- a/cmd/cvend-ipp/main.go +++ b/cmd/cvend-ipp/main.go @@ -20,7 +20,7 @@ func main() { log.SetFlags(log.Lshortfile | log.Ldate | log.Ltime | log.Lmicroseconds) log.Println("cvend-ipp start") wc := make(chan struct{}, 1) - s, err := cvend.OpenIPP(func(msgType byte, msgData []byte) { + s, err := cvend.OpenIPP(func(seq, replyTo byte, msgType byte, msgData []byte) { cvend.LogIPP(msgType, msgData) select { case wc <- struct{}{}: @@ -44,7 +44,7 @@ func main() { } else { msgData = bs } - if err := s.SendIPP(msgType, msgData); err != nil { + if err := s.SendIPP(msgType, 0, msgData); err != nil { panic(err) } if *wait > 0 { |