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
a9290398
Commit
a9290398
authored
Oct 31, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: use bool
Return bool instead of int.
parent
6757c176
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
client.c
src/client.c
+1
-1
client.h
src/client.h
+1
-1
No files found.
src/client.c
View file @
a9290398
...
...
@@ -100,7 +100,7 @@ static void client_write_deferred(struct client *client);
static
void
client_write_output
(
struct
client
*
client
);
int
client_is_expired
(
const
struct
client
*
client
)
bool
client_is_expired
(
const
struct
client
*
client
)
{
return
client
->
fd
<
0
;
}
...
...
src/client.h
View file @
a9290398
...
...
@@ -35,7 +35,7 @@ void client_manager_expire(void);
void
client_new
(
int
fd
,
const
struct
sockaddr
*
addr
,
int
uid
);
int
client_is_expired
(
const
struct
client
*
client
);
bool
client_is_expired
(
const
struct
client
*
client
);
/**
* returns the uid of the client process, or a negative value if the
...
...
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