aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 06:17:54 +0200
committerEric Wong <normalperson@yhbt.net>2008-09-01 18:35:19 -0700
commit421fced5f9484a288fdc4f3ab33dfd4bfbfb7e84 (patch)
tree9379c0350a2758ff6f273ff30a227d5b8ea314f3
parent557679eba7e6daae37e90c645b1e69174fb1456c (diff)
downloadmpd-421fced5f9484a288fdc4f3ab33dfd4bfbfb7e84.tar.gz
mpd-421fced5f9484a288fdc4f3ab33dfd4bfbfb7e84.tar.xz
mpd-421fced5f9484a288fdc4f3ab33dfd4bfbfb7e84.zip
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.
-rw-r--r--src/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index 51f3e8e3b..3a96e4caf 100644
--- a/src/client.c
+++ b/src/client.c
@@ -720,7 +720,6 @@ static void client_defer_output(struct client *client,
struct sllnode **buf_r;
assert(length > 0);
- assert(client->deferred_send != NULL);
client->deferred_bytes += sizeof(struct sllnode) + length;
if (client->deferred_bytes > client_max_output_buffer_size) {