From 0ed5132769e88cb385b5240986b706430f0ccd72 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:03:54 -0700 Subject: Fix broken io.Reader implementations --- hotline/client_conn.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'hotline/client_conn.go') diff --git a/hotline/client_conn.go b/hotline/client_conn.go index 8e66218..e21d8b1 100644 --- a/hotline/client_conn.go +++ b/hotline/client_conn.go @@ -167,7 +167,6 @@ func (cc *ClientConn) notifyOthers(t Transaction) (trans []Transaction) { // NewReply returns a reply Transaction with fields for the ClientConn func (cc *ClientConn) NewReply(t *Transaction, fields ...Field) Transaction { return Transaction{ - Flags: 0x00, IsReply: 0x01, Type: []byte{0x00, 0x00}, ID: t.ID, @@ -181,7 +180,6 @@ func (cc *ClientConn) NewReply(t *Transaction, fields ...Field) Transaction { func (cc *ClientConn) NewErrReply(t *Transaction, errMsg string) Transaction { return Transaction{ clientID: cc.ID, - Flags: 0x00, IsReply: 0x01, Type: []byte{0, 0}, ID: t.ID, -- cgit