Only call vss_eof() from vss_preselect().
authorAndre Noll <maan@systemlinux.org>
Sat, 12 Apr 2008 06:44:07 +0000 (08:44 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 12 Apr 2008 06:44:07 +0000 (08:44 +0200)
vss.c

diff --git a/vss.c b/vss.c
index 3c59bf4ac09c78327dfeeff6cb4aba677ff1c19a..1501052a87b8cc3c9eb1f86c834e6c2300e50f1d 100644 (file)
--- 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