| Index: logdog/client/butlerlib/streamclient/client.go
|
| diff --git a/logdog/client/butlerlib/streamclient/client.go b/logdog/client/butlerlib/streamclient/client.go
|
| index faa0f4168d92e1e78a52715ecea80acf3ed50009..da96e0521475151497ab924537cbd624dc8ec46d 100644
|
| --- a/logdog/client/butlerlib/streamclient/client.go
|
| +++ b/logdog/client/butlerlib/streamclient/client.go
|
| @@ -43,7 +43,7 @@ type clientImpl struct {
|
| // - net.pipe:name describes a stream server listening on Windows named pipe
|
| // "\\.\pipe\name".
|
| func New(path string) (Client, error) {
|
| - return DefaultRegistry.NewClient(path)
|
| + return defaultRegistry.NewClient(path)
|
| }
|
|
|
| func (c *clientImpl) NewStream(f streamproto.Flags) (Stream, error) {
|
| @@ -71,8 +71,8 @@ func (c *clientImpl) NewStream(f streamproto.Flags) (Stream, error) {
|
|
|
| // Perform the handshake: magic + size(data) + data.
|
| s := &streamImpl{
|
| - Properties: p,
|
| WriteCloser: client,
|
| + props: p,
|
| }
|
| if _, err := s.writeRaw(streamproto.ProtocolFrameHeaderMagic); err != nil {
|
| return nil, fmt.Errorf("failed to write magic number: %s", err)
|
|
|