Changeset - bbaf7619b582
[Not reviewed]
default
0 2 0
ethanzonca - 16 years ago 2009-07-30 14:51:47

Key variable isn't needed anymore
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/server/slavefuncs.c
Show inline comments
 
@@ -90,7 +90,7 @@ int register_user(char *username, char *
 
  /* @TODO: Parse the output buffer or something to check when user creation fails due to duplicate users. This is pretty important. */
 

	
 
  ssh_keygen(); // generates distren_rsa
 

	
 
  conf_replace(username); // puts the person's username in the conf
 
  /* @TODO: Scan distrenslave.conf for !username and !key and replace them with "keyname" and the "username" */
 
  return 1;
 
}
 
@@ -158,7 +158,7 @@ int login_user(char *username)
 

	
 
/* Replaces username and key in the slave's conf file, currently pseudo */
 

	
 
void conf_replace(char *username, char *key){
 
void conf_replace(char *username){
 
	// Doesn't delete anything! :D
 
/*
 
	mktemp(); // Gets a new file to put data into
src/server/slavefuncs.h
Show inline comments
 
@@ -24,7 +24,7 @@
 
int ssh_keygen();
 
int register_user(char *username, char *email);
 
int login_user(char *username);
 
void conf_replace(char *username, char *key);
 
void conf_replace(char *username);
 
void exec_blender(struct blendjob* blendjob, char *input, char *output, int frame);
 

	
 

	
0 comments (0 inline, 0 general)