Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
f1e61055
Commit
f1e61055
authored
Mar 12, 2017
by
Rémi Denis-Courmont
Browse files
sftp: use TCP, not just any protocol
parent
76fee314
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/sftp.c
View file @
f1e61055
...
...
@@ -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_Connect
TCP
(
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment