# HG changeset patch # User LordOfWar # Date 2009-09-16 22:24:22 # Node ID db93daf4704afb50a2a46ec3beba8c825daac214 # Parent 66a0bab210f1a7a1a0e89e13d9e6d24c90cf46b8 fixed a oversight in mortition(), the number of the frame should be (counter + start_frame) where start_frame = job->frameset[0].num diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -177,7 +177,7 @@ void mortition(struct distrenjob *head, isJobDone = 1; // set isJobDone to true for(counter = 0; counter < job->total_frames; counter++) { - sprintf(path_and_number, "stor/job%d/out/%d.%s", job->jobnum, counter, job->output_format); + sprintf(path_and_number, "stor/job%d/out/%d.%s", job->jobnum, (counter + job->frameset[0].num), job->output_format); if(stat(path_and_number, &buffer) != -1) { job->frameset[counter].status = 0;