Changeset - bca0ae1ed90e
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-13 21:15:14

Fixed.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -501,13 +501,13 @@ void loginuser(char *username, int secre
 

	
 
void exec_blender(char *input, char *output, int frame) {
 
  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", "aah", (char *)0 };
 
  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);
 
}
0 comments (0 inline, 0 general)