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
d6b04cde
Commit
d6b04cde
authored
Sep 10, 2015
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Sep 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sftp: remove unused sftp-readsize
parent
560eedba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
modules/access/sftp.c
modules/access/sftp.c
+0
-6
No files found.
modules/access/sftp.c
View file @
d6b04cde
...
...
@@ -52,8 +52,6 @@ static void Close( vlc_object_t* );
#define PORT_TEXT N_("SFTP port")
#define PORT_LONGTEXT N_("SFTP port number to use on the server")
#define MTU_TEXT N_("Read size")
#define MTU_LONGTEXT N_("Size of the request for reading access")
#define USER_TEXT N_("Username")
#define USER_LONGTEXT N_("Username that will be used for the connection, " \
"if no username is set in the URL.")
...
...
@@ -67,7 +65,6 @@ vlc_module_begin ()
set_capability
(
"access"
,
0
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_ACCESS
)
add_integer
(
"sftp-readsize"
,
8192
,
MTU_TEXT
,
MTU_LONGTEXT
,
true
)
add_integer
(
"sftp-port"
,
22
,
PORT_TEXT
,
PORT_LONGTEXT
,
true
)
add_string
(
"sftp-user"
,
NULL
,
USER_TEXT
,
USER_LONGTEXT
,
false
)
add_password
(
"sftp-pwd"
,
NULL
,
PASS_TEXT
,
PASS_LONGTEXT
,
false
)
...
...
@@ -93,7 +90,6 @@ struct access_sys_t
LIBSSH2_SFTP
*
sftp_session
;
LIBSSH2_SFTP_HANDLE
*
file
;
uint64_t
filesize
;
size_t
i_read_size
;
/* browser */
char
*
psz_username_opt
;
...
...
@@ -314,8 +310,6 @@ static int Open( vlc_object_t* p_this )
goto
error
;
}
p_sys
->
i_read_size
=
var_InheritInteger
(
p_access
,
"sftp-readsize"
);
free
(
psz_password
);
free
(
psz_username
);
free
(
psz_remote_home
);
...
...
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