one more name->name+nickname display conversion

This commit is contained in:
Matthias Radestock committed 2015-03-27 07:10:32 +00:00
1 parent 16ddb95adc
commit 2d74bb4cfa
1 file changed
+1 -1
+1 -1
View File
@@ -102,7 +102,7 @@ func (conn *LocalConnection) handshake(enc *gob.Encoder, dec *gob.Decoder, accep
}
}
if existingConn, found := conn.local.ConnectionTo(name); found && existingConn.Established() {
return fmt.Errorf("Already have connection to %s at %s", name, existingConn.RemoteTCPAddr())
return fmt.Errorf("Already have connection to %s at %s", existingConn.Remote().FullName(), existingConn.RemoteTCPAddr())
}
uid, err := strconv.ParseUint(uidStr, 10, 64)
if err != nil {