mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 19:21:38 +02:00
...
This commit is contained in:
@@ -177,7 +177,7 @@ func do_socket_io(io_data *rc_io_data) (serialized_response []byte, err error) {
|
|||||||
network := utils.IfElse(global_options.to_network == "ip", "tcp", global_options.to_network)
|
network := utils.IfElse(global_options.to_network == "ip", "tcp", global_options.to_network)
|
||||||
conn, err = net.Dial(network, global_options.to_address)
|
conn, err = net.Dial(network, global_options.to_address)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = fmt.Errorf("Failed to connect to %s %s with error: %w", network, global_options.to_address, err)
|
err = fmt.Errorf("Failed to connect to %s:%s with error: %w", network, global_options.to_address, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user