Skip to content

Commit

Permalink
Merge pull request #37 from avivklas/fixed-startup
Browse files Browse the repository at this point in the history
Fix connection startup
  • Loading branch information
aviaoh authored Jun 19, 2019
2 parents 4e874a3 + d6b2163 commit 4e6369d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocol/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (t *Transport) StartUp() (Message, error) {
return nil, err
}

msg, err = t.Read()
msg, err = t.read()
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion sess.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (s *session) Serve() error {
return err
}

err = t.Write(protocol.ParameterStatus("client_encoding", "utf8"))
err = t.Write(protocol.ParameterStatus("client_encoding", "UTF8"))
if err != nil {
return err
}
Expand Down

0 comments on commit 4e6369d

Please sign in to comment.