Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d2d7e36d
Commit
d2d7e36d
authored
Sep 09, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic fixes
parent
f78b9464
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/access/ftp.c
modules/access/ftp.c
+3
-3
No files found.
modules/access/ftp.c
View file @
d2d7e36d
...
@@ -85,7 +85,7 @@ struct access_sys_t
...
@@ -85,7 +85,7 @@ struct access_sys_t
int
fd_cmd
;
int
fd_cmd
;
int
fd_data
;
int
fd_data
;
char
sz_epsv_ip
[
NI_MAXNUMERICHOST
];
char
sz_epsv_ip
[
NI_MAXNUMERICHOST
];
};
};
...
@@ -127,7 +127,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
...
@@ -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
);
msg_Dbg
(
p_access
,
"connection accepted (%d)"
,
i_answer
);
if
(
p_sys
->
url
.
psz_username
&&
*
p_sys
->
url
.
psz_username
)
if
(
p_sys
->
url
.
psz_username
&&
*
p_sys
->
url
.
psz_username
)
psz
=
strdup
(
p_sys
->
url
.
psz_username
);
psz
=
strdup
(
p_sys
->
url
.
psz_username
);
else
else
...
@@ -150,7 +150,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
...
@@ -150,7 +150,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
msg_Dbg
(
p_access
,
"password needed"
);
msg_Dbg
(
p_access
,
"password needed"
);
if
(
p_sys
->
url
.
psz_password
&&
*
p_sys
->
url
.
psz_password
)
if
(
p_sys
->
url
.
psz_password
&&
*
p_sys
->
url
.
psz_password
)
psz
=
strdup
(
p_sys
->
url
.
psz_password
);
psz
=
strdup
(
p_sys
->
url
.
psz_password
);
else
else
psz
=
var_CreateGetString
(
p_access
,
"ftp-pwd"
);
psz
=
var_CreateGetString
(
p_access
,
"ftp-pwd"
);
if
(
ftp_SendCommand
(
p_access
,
"PASS %s"
,
psz
)
<
0
||
if
(
ftp_SendCommand
(
p_access
,
"PASS %s"
,
psz
)
<
0
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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