# HG changeset patch # User LordOfWar # Date 2009-10-14 15:45:39 # Node ID 0cfd1fa8341d106b02b747f993922ed413de34ed # Parent 7bad96e41164054f32eaef82b12a879e3b97985a (no commit message) diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -214,7 +214,7 @@ void mortition(struct distrenjob *head, updateJobListXML(head); } else{ - job->prev_frame_index = 0; // if the job isn't done, have frame_finder() start from the first frame, allowing it to see the frames that are now unassigned + job->prev_frame_index = -1; // if the job isn't done, have frame_finder() start from the first frame, allowing it to see the frames that are now unassigned } updateGeneralInfo(); @@ -991,6 +991,7 @@ int main(int argc, char *argv[]) distrend_do_config(argc, argv, &config); + // pre-loaded jobs for testing prepare_distrenjob(&head, 1, "awesome", "LordOfWar", "onlylordofwar@gmail.com", 4, 1, 100, 640, 480); while(test == 1)