Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
760f9ce3
Commit
760f9ce3
authored
Jul 18, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* spelling corrections
parent
0168eda0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access/ftp.c
modules/access/ftp.c
+4
-4
No files found.
modules/access/ftp.c
View file @
760f9ce3
...
@@ -221,7 +221,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -221,7 +221,7 @@ static int Open( vlc_object_t *p_this )
if
(
ftp_SendCommand
(
p_access
,
"TYPE I"
)
<
0
||
if
(
ftp_SendCommand
(
p_access
,
"TYPE I"
)
<
0
||
ftp_ReadCommand
(
p_access
,
&
i_answer
,
NULL
)
!=
2
)
ftp_ReadCommand
(
p_access
,
&
i_answer
,
NULL
)
!=
2
)
{
{
msg_Err
(
p_access
,
"cannot set binary transfer
t
mode"
);
msg_Err
(
p_access
,
"cannot set binary transfer mode"
);
goto
exit_error
;
goto
exit_error
;
}
}
...
@@ -478,7 +478,7 @@ static int ftp_StartStream( access_t *p_access, off_t i_start )
...
@@ -478,7 +478,7 @@ static int ftp_StartStream( access_t *p_access, off_t i_start )
if
(
ftp_SendCommand
(
p_access
,
"PASV"
)
<
0
||
if
(
ftp_SendCommand
(
p_access
,
"PASV"
)
<
0
||
ftp_ReadCommand
(
p_access
,
&
i_answer
,
&
psz_arg
)
!=
2
)
ftp_ReadCommand
(
p_access
,
&
i_answer
,
&
psz_arg
)
!=
2
)
{
{
msg_Err
(
p_access
,
"cannot set passive transfer
t
mode"
);
msg_Err
(
p_access
,
"cannot set passive transfer mode"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -488,7 +488,7 @@ static int ftp_StartStream( access_t *p_access, off_t i_start )
...
@@ -488,7 +488,7 @@ static int ftp_StartStream( access_t *p_access, off_t i_start )
&
a4
,
&
p1
,
&
p2
)
<
6
)
&
a4
,
&
p1
,
&
p2
)
<
6
)
{
{
free
(
psz_arg
);
free
(
psz_arg
);
msg_Err
(
p_access
,
"cannot get ip/port for passive transfer
t
mode"
);
msg_Err
(
p_access
,
"cannot get ip/port for passive transfer mode"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
free
(
psz_arg
);
free
(
psz_arg
);
...
@@ -500,7 +500,7 @@ static int ftp_StartStream( access_t *p_access, off_t i_start )
...
@@ -500,7 +500,7 @@ static int ftp_StartStream( access_t *p_access, off_t i_start )
if
(
ftp_SendCommand
(
p_access
,
"TYPE I"
)
<
0
||
if
(
ftp_SendCommand
(
p_access
,
"TYPE I"
)
<
0
||
ftp_ReadCommand
(
p_access
,
&
i_answer
,
NULL
)
!=
2
)
ftp_ReadCommand
(
p_access
,
&
i_answer
,
NULL
)
!=
2
)
{
{
msg_Err
(
p_access
,
"cannot set binary transfer
t
mode"
);
msg_Err
(
p_access
,
"cannot set binary transfer mode"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
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