aboutsummaryrefslogtreecommitdiff
path: root/hotline/client_conn.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-16 16:03:54 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-16 16:05:25 -0700
commit0ed5132769e88cb385b5240986b706430f0ccd72 (patch)
treebd622161546d9db3293ba69afc9646bcdb24b2f4 /hotline/client_conn.go
parentf6f1d88969e12eadb7013397cdad3c4c5625988c (diff)
Fix broken io.Reader implementations
Diffstat (limited to 'hotline/client_conn.go')
-rw-r--r--hotline/client_conn.go2
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,