Commit f1e61055 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

sftp: use TCP, not just any protocol

parent 76fee314
......@@ -224,7 +224,7 @@ static int Open( vlc_object_t* p_this )
/* Connect to the server using a regular socket */
p_sys->i_socket = net_Connect( p_access, url.psz_host, i_port, SOCK_STREAM, 0 );
p_sys->i_socket = net_ConnectTCP( p_access, url.psz_host, i_port );
if( p_sys->i_socket < 0 )
{
msg_Err( p_access, "Impossible to open the connection to %s:%i", url.psz_host, i_port );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment