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
215cdda0
Commit
215cdda0
authored
Mar 29, 2009
by
Avuton Olrich
Committed by
Max Kellermann
Mar 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: client_write() does not necessary for export.
parent
e81f683a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
client.c
src/client.c
+4
-1
client.h
src/client.h
+0
-5
No files found.
src/client.c
View file @
215cdda0
...
...
@@ -773,7 +773,10 @@ static void client_write_output(struct client *client)
client
->
send_buf_used
=
0
;
}
void
client_write
(
struct
client
*
client
,
const
char
*
buffer
,
size_t
buflen
)
/**
* Write a block of data to the client.
*/
static
void
client_write
(
struct
client
*
client
,
const
char
*
buffer
,
size_t
buflen
)
{
/* if the client is going to be closed, do nothing */
if
(
client_is_expired
(
client
))
...
...
src/client.h
View file @
215cdda0
...
...
@@ -46,11 +46,6 @@ unsigned client_get_permission(const struct client *client);
void
client_set_permission
(
struct
client
*
client
,
unsigned
permission
);
/**
* Write a block of data to the client.
*/
void
client_write
(
struct
client
*
client
,
const
char
*
data
,
size_t
length
);
/**
* Write a C string to the client.
*/
void
client_puts
(
struct
client
*
client
,
const
char
*
s
);
...
...
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