Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
751dc388
Commit
751dc388
authored
Oct 04, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
httpd: don't inherit from libvlc object
This will allow normal variable inheritance
parent
3aed491e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/network/httpd.c
src/network/httpd.c
+2
-2
No files found.
src/network/httpd.c
View file @
751dc388
...
...
@@ -1068,8 +1068,8 @@ static httpd_host_t *httpd_HostCreate( vlc_object_t *p_this,
vlc_cond_init
(
&
host
->
wait
);
host
->
i_ref
=
1
;
char
*
hostname
=
var_InheritString
(
p_this
->
p_libvlc
,
hostvar
);
unsigned
port
=
var_InheritInteger
(
p_this
->
p_libvlc
,
portvar
);
char
*
hostname
=
var_InheritString
(
p_this
,
hostvar
);
unsigned
port
=
var_InheritInteger
(
p_this
,
portvar
);
host
->
fds
=
net_ListenTCP
(
p_this
,
hostname
,
port
);
free
(
hostname
);
if
(
host
->
fds
==
NULL
)
...
...
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