Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
8a1b85c1
Commit
8a1b85c1
authored
Jan 14, 2007
by
Eric Wong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avahi: more sparse fixes (-Wshadow, non-ANSI declarations)
git-svn-id:
https://svn.musicpd.org/mpd/trunk@5248
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
6b9fc568
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
interface.c
src/interface.c
+8
-8
listen.c
src/listen.c
+1
-1
No files found.
src/interface.c
View file @
8a1b85c1
...
...
@@ -512,15 +512,15 @@ int doIOForInterfaces(void)
// Add fds for all registered IO handlers
if
(
ioList
)
{
struct
ioOps
*
i
=
ioList
;
while
(
i
)
{
struct
ioOps
*
current
=
i
;
struct
ioOps
*
o
=
ioList
;
while
(
o
)
{
struct
ioOps
*
current
=
o
;
int
fdnum
;
assert
(
current
->
fdset
);
fdnum
=
current
->
fdset
(
&
rfds
,
&
wfds
,
&
efds
);
if
(
fdmax
<
fdnum
)
fdmax
=
fdnum
;
i
=
i
->
next
;
o
=
o
->
next
;
}
}
...
...
@@ -531,12 +531,12 @@ int doIOForInterfaces(void)
// Consume fds for all registered IO handlers
if
(
ioList
)
{
struct
ioOps
*
i
=
ioList
;
while
(
i
)
{
struct
ioOps
*
current
=
i
;
struct
ioOps
*
o
=
ioList
;
while
(
o
)
{
struct
ioOps
*
current
=
o
;
assert
(
current
->
consume
);
selret
=
current
->
consume
(
selret
,
&
rfds
,
&
wfds
,
&
efds
);
i
=
i
->
next
;
o
=
o
->
next
;
}
}
...
...
src/listen.c
View file @
8a1b85c1
...
...
@@ -270,7 +270,7 @@ void getConnections(fd_set * fds)
}
}
int
getBoundPort
()
int
getBoundPort
(
void
)
{
return
boundPort
;
}
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