# HG changeset patch # User Binki # Date 2009-07-09 02:05:30 # Node ID 2d0a78faf8f1612b0193831ffc2953c84fe356c0 # Parent a50a7b87ef9c5cd42e530a02f315bf4538b43c9d added function prototype, responded to comment diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -35,6 +35,10 @@ #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... +/* internally defined funcs */ +void status_report_generator(); + + // Global Vars, try to cut down on these int jobnum = 0; // The next job number to create in the queue int hcfjob; // Highest consecutively finished job @@ -405,5 +409,6 @@ void exec_blender(char *input, char *out ret = execv("/usr/bin/blender", cmd); // OHNOBINKI! ... check this... Its supposed to send a command back to the server and run the_finisher(); function which sets the frame status to complete. - fprintf(stdin, the_finisher(frame)); + /* You can't print the return value of a function that returns nothing (void) */ + the_finisher(frame); }