aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 06:17:54 +0200
committerMax Kellermann <max@duempel.org>2008-08-29 06:17:54 +0200
commitd8a8fa63b40801f597cc374bcfcbdd397aa0a670 (patch)
treeda399a4f42aaccb3fb976ebf4d2976aec135f44d
parent7858081eda955918f9eaae937ed077b1c65ebbbe (diff)
downloadmpd-d8a8fa63b40801f597cc374bcfcbdd397aa0a670.tar.gz
mpd-d8a8fa63b40801f597cc374bcfcbdd397aa0a670.tar.xz
mpd-d8a8fa63b40801f597cc374bcfcbdd397aa0a670.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.
Diffstat (limited to '')
-rw-r--r--src/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index 5981cd73d..953037e1b 100644
--- a/src/client.c
+++ b/src/client.c
@@ -723,7 +723,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) {