diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-16 16:03:54 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-16 16:05:25 -0700 |
| commit | 0ed5132769e88cb385b5240986b706430f0ccd72 (patch) | |
| tree | bd622161546d9db3293ba69afc9646bcdb24b2f4 /hotline/client_conn.go | |
| parent | f6f1d88969e12eadb7013397cdad3c4c5625988c (diff) | |
Fix broken io.Reader implementations
Diffstat (limited to 'hotline/client_conn.go')
| -rw-r--r-- | hotline/client_conn.go | 2 |
1 files changed, 0 insertions, 2 deletions
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, |