# HG changeset patch # User ohnobinki@cdmlappy # Date 2009-07-09 00:06:29 # Node ID 6e18d6692647d253d071a8cfd3e3488d0fdd8b19 # Parent c9047d3f9cc3027de82b5d14fad51fdf36c2e9a4 capitalized #defines diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -32,7 +32,7 @@ #include "options.h" #include -#define max 100 // maximum number of stored jobs in memory, per job type (lux/blend). Eventually we can dump this data to disk, or atleast the remainder not in memory... +#define MAX_BLENDJOBS 100 // maximum number of stored jobs in memory, per job type (lux/blend). Eventually we can dump this data to disk, or atleast the remainder not in memory... // Global Vars, try to cut down on these int jobnum = 0; // The next job number to create in the queue @@ -60,7 +60,7 @@ struct { 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; -} blendjob[max]; +} blendjob[MAX_BLENDJOBS]; // Matt's code for framesets? I think that the int frame_num is obselete because it will be frameset[framenum]