addressed some comments

This commit is contained in:
iamqizhao
2015-04-01 14:22:53 -07:00
parent bec42c09aa
commit c7b9fa27dc
2 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ func NewServer(opt ...ServerOption) *Server {
}
if opts.codec == nil {
// Set the default codec.
opts.codec = &protoCodec{}
opts.codec = protoCodec{}
}
return &Server{
lis: make(map[net.Listener]bool),