Changeset - cc5739363b02
[Not reviewed]
default
0 2 0
ethanzonca - 16 years ago 2009-07-30 15:11:31

Removed key from conf, as it will be stored as a file, etc.
2 files changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
etc/distrenslave.conf
Show inline comments
 
slave
 
{
 
  username = "!username"
 
  key = "!key"
 
}
 

	
 
include("distrencommon.conf")
src/server/slavefuncs.c
Show inline comments
 
@@ -191,25 +191,25 @@ void conf_replace(char *username){
 
          	fputc((int)*buff_ptr++,fp2);
 
          fputs(text2repl,fp2);
 
          buff_ptr += find_len;
 
          }
 
          fputs(buff_ptr,fp2);
 
      }
 
  }
 
  else{
 
	  fprintf(stderr, "distrenslave.conf doesn't exist!");
 
  }
 
  fclose(fp2);
 
  fclose(fp1);
 
  fprintf(stderr,"conf replacements likely worked")
 
  fprintf(stderr,"conf replacements likely worked");
 
}
 

	
 

	
 
/* Executors */
 

	
 
/*
 
  It seems that the client will need to know the job number. fixme.
 
*/
 

	
 
void exec_blender(struct blendjob* blendjob, char *input, char *output, int frame)
 
{
 
  char *frame_str;
0 comments (0 inline, 0 general)