Commit d8a8fa63 authored by Max Kellermann's avatar Max Kellermann

client: removed superfluous assertion

client_defer_output() was modified so that it can create the deferred_send list. With this patch, the assertion on "deferred_send!=NULL" has become invalid. Remove it.
parent 7858081e
...@@ -723,7 +723,6 @@ static void client_defer_output(struct client *client, ...@@ -723,7 +723,6 @@ static void client_defer_output(struct client *client,
struct sllnode **buf_r; struct sllnode **buf_r;
assert(length > 0); assert(length > 0);
assert(client->deferred_send != NULL);
client->deferred_bytes += sizeof(struct sllnode) + length; client->deferred_bytes += sizeof(struct sllnode) + length;
if (client->deferred_bytes > client_max_output_buffer_size) { if (client->deferred_bytes > client_max_output_buffer_size) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment