From: Andre Noll Date: Sat, 12 Apr 2008 06:44:07 +0000 (+0200) Subject: Only call vss_eof() from vss_preselect(). X-Git-Tag: v0.3.3~96 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=c131db293f79b899e6a8a49ff5b4748df5b8a8c2;hp=d04dd06c4553ae3e1a6ead0e427f0f03836d0cd0 Only call vss_eof() from vss_preselect(). --- diff --git a/vss.c b/vss.c index 3c59bf4a..1501052a 100644 --- a/vss.c +++ b/vss.c @@ -491,7 +491,7 @@ void vss_send_chunk(void) mmd->new_vss_status_flags &= ~VSS_REPOS; if (mmd->current_chunk >= mmd->afd.afhi.chunks_total) { /* eof */ mmd->new_vss_status_flags |= VSS_NEXT; - return vss_eof(); + return; } /* * We call the send function also in case of empty chunks as they