diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -59,7 +59,7 @@ struct blendjob { int completed_frames; // number of completed frames for stats/etc int assigned_frames; // number of assigned frames (that are not yet completed) for stats/etc int total_frames; // how many frames are in the animation for stats/etc - struct frameset **frameset; + struct frameset *frameset; } blendjob[MAX_BLENDJOBS]; @@ -79,7 +79,7 @@ struct frameset { // **** Finish-Setter: Sets a frame to the "completed" status. Should be modified to set =2 rather than ++ ? void finish_frame(int frame){ - (*blendjob[jobnum].frameset)[frame].frame_status = 2; + blendjob[jobnum].frameset[frame].frame_status = 2; } @@ -92,7 +92,7 @@ void queue(int type, char *name, char *s blendjob[jobnum].submitter = submitter; blendjob[jobnum].email = email; blendjob[jobnum].priority = priority; - blendjob[jobnum].frameset = frameset; + blendjob[jobnum].frameset = frameset; } else{ // Throw error.