Merge branch 'refs/heads/t/play_fix'
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index 928ef6c..e0b764a 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -921,7 +921,8 @@ static void vss_pre_select(struct sched *s, void *context)
                tv_add(now, &vsst->announce_tv, &vsst->data_send_barrier);
                set_eof_barrier(vsst);
                mmd->chunks_sent = 0;
-               mmd->current_chunk = mmd->repos_request;
+               mmd->current_chunk = afh_get_start_chunk(mmd->repos_request,
+                       &mmd->afd.afhi);
                mmd->new_vss_status_flags &= ~VSS_REPOS;
                set_mmd_offset();
        }