client: client_write() does not necessary for export.
This commit is contained in:
parent
e81f683a18
commit
215cdda08d
@ -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))
|
||||
|
@ -45,11 +45,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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user