mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 06:23:10 -06:00
Fix comment
This commit is contained in:
parent
246a9a4d23
commit
2b580bc349
|
|
@ -70,7 +70,7 @@ var (
|
||||||
tdialer, tderr = dialer()
|
tdialer, tderr = dialer()
|
||||||
)
|
)
|
||||||
|
|
||||||
// Dial a network connection to an I2P server or a unix socket. Fail for clearnet addresses.
|
// Dial a network connection to an I2P server or a unix socket. Use Tor, or Fail for clearnet addresses.
|
||||||
func Dial(network, addr string) (net.Conn, error) {
|
func Dial(network, addr string) (net.Conn, error) {
|
||||||
if samError != nil {
|
if samError != nil {
|
||||||
return nil, samError
|
return nil, samError
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue