From: Andre Noll Date: Sat, 2 Feb 2008 10:47:23 +0000 (+0100) Subject: [TRIVIAL] dccp_send.c: Decrease scope of header_len. X-Git-Tag: v0.3.1~63 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=87e49928cf48ae6368e65a27cfe1a62e33a19e48;ds=sidebyside [TRIVIAL] dccp_send.c: Decrease scope of header_len. --- diff --git a/dccp_send.c b/dccp_send.c index 5449a6a9..b1e2f48d 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -188,13 +188,13 @@ static void dccp_send(long unsigned current_chunk, struct dccp_client *dc, *tmp; int ret; char *header_buf; - size_t header_len; if (listen_fd < 0 || !len) return; list_for_each_entry_safe(dc, tmp, &clients, node) { if (!dc->header_sent && current_chunk) { + size_t header_len; header_buf = vss_get_header(&header_len); if (header_buf && header_len > 0) { if (queue_chunk_or_shutdown(dc, -1U, 0) < 0)