Changeset - 86c2742c4392
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-13 21:18:41

Fixed few args
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -496,18 +496,18 @@ void loginuser(char *username, int secre
 
  execio_close(testrem);
 
}
 

	
 

	
 
// Executors
 

	
 
void exec_blender(char *input, char *output, int frame) {
 
void exec_blender(char *input, char *output, int frame, int jobnum) {
 
  char *frame_str;
 
  asprintf(frame,frame_str); // GNU/*nix compatible only, fix before releasing win32!
 
  int ret;
 
  /* SEGFAULTAGE :-D */
 
  char *cmd[] = { "blender", "-b", "-o", output, input, "-f", frame_str, (char *)0 };
 
  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.
 
  /* You can't print the return value of a function that returns nothing (void) */
 
  finish_frame(frame);
 
  finish_frame(jobnum, frame);
 
}
0 comments (0 inline, 0 general)