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
0a24da4a
Commit
0a24da4a
authored
Dec 30, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
telnet: use var_Inherit
parent
86cb2cd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/control/telnet.c
modules/control/telnet.c
+3
-4
No files found.
modules/control/telnet.c
View file @
0a24da4a
...
...
@@ -171,9 +171,8 @@ static int Open( vlc_object_t *p_this )
msg_Info
(
p_intf
,
"using the VLM interface plugin..."
);
i_telnetport
=
config_GetInt
(
p_intf
,
"telnet-port"
);
psz_address
=
config_GetPsz
(
p_intf
,
"telnet-host"
);
i_telnetport
=
var_InheritInteger
(
p_intf
,
"telnet-port"
);
psz_address
=
var_InheritString
(
p_intf
,
"telnet-host"
);
vlc_UrlParse
(
&
url
,
psz_address
,
0
);
free
(
psz_address
);
...
...
@@ -247,7 +246,7 @@ static void Run( intf_thread_t *p_intf )
nlisten
++
;
/* How many listening sockets do we have? */
/* FIXME: make sure config_* is cancel-safe */
psz_password
=
config_GetPsz
(
p_intf
,
"telnet-password"
);
psz_password
=
var_InheritString
(
p_intf
,
"telnet-password"
);
vlc_cleanup_push
(
free
,
psz_password
);
for
(
;;
)
...
...
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