Merge pull request #65 from grpc/revert-64-master

Revert "init serverName correctly"
This commit is contained in:
Qi Zhao 2015-02-25 18:51:21 -08:00
commit 32527e92db
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ func main() {
serverAddr := net.JoinHostPort(*serverHost, strconv.Itoa(*serverPort))
var opts []grpc.DialOption
if *useTLS {
sn := *serverHost
var sn string
if *tlsServerName != "" {
sn = *tlsServerName
}