Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
spr0cketeer
Icecast-Server
Commits
03092d10
Commit
03092d10
authored
Aug 08, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Do not asume listener->id != NULL when looking for a listener with a specific ID
parent
ec6a8552
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/listensocket.c
src/listensocket.c
+1
-1
No files found.
src/listensocket.c
View file @
03092d10
...
...
@@ -476,7 +476,7 @@ static listensocket_t * listensocket_container_get_by_id(listensocket_container_
if
(
self
->
sock
[
i
]
!=
NULL
)
{
listener
=
listensocket_get_listener
(
self
->
sock
[
i
]);
if
(
listener
)
{
if
(
strcmp
(
listener
->
id
,
id
)
==
0
)
{
if
(
listener
->
id
!=
NULL
&&
strcmp
(
listener
->
id
,
id
)
==
0
)
{
listensocket_release_listener
(
self
->
sock
[
i
]);
if
(
refobject_ref
(
self
->
sock
[
i
])
==
0
)
{
return
self
->
sock
[
i
];
...
...
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