Changeset - 2d0a78faf8f1
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 16 years ago 2009-07-09 02:05:30
ohnobinki@ohnopublishing.net
added function prototype, responded to comment
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -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);
 
}
0 comments (0 inline, 0 general)