Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
d2d7e36d
Commit
d2d7e36d
authored
Sep 09, 2006
by
Rémi Denis-Courmont
Browse files
Cosmetic fixes
parent
f78b9464
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/ftp.c
View file @
d2d7e36d
...
...
@@ -85,7 +85,7 @@ struct access_sys_t
int
fd_cmd
;
int
fd_data
;
char
sz_epsv_ip
[
NI_MAXNUMERICHOST
];
};
...
...
@@ -127,7 +127,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
}
msg_Dbg
(
p_access
,
"connection accepted (%d)"
,
i_answer
);
if
(
p_sys
->
url
.
psz_username
&&
*
p_sys
->
url
.
psz_username
)
psz
=
strdup
(
p_sys
->
url
.
psz_username
);
else
...
...
@@ -150,7 +150,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
msg_Dbg
(
p_access
,
"password needed"
);
if
(
p_sys
->
url
.
psz_password
&&
*
p_sys
->
url
.
psz_password
)
psz
=
strdup
(
p_sys
->
url
.
psz_password
);
else
else
psz
=
var_CreateGetString
(
p_access
,
"ftp-pwd"
);
if
(
ftp_SendCommand
(
p_access
,
"PASS %s"
,
psz
)
<
0
||
...
...
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