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 3c59bf4..1501052 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