Changeset - 178f8413971b
[Not reviewed]
default
0 3 0
ethanzonca - 16 years ago 2009-07-28 00:51:10

Changed loginuser() to login_user() to mimic register_user()'s format.
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/server/slave.c
Show inline comments
 
@@ -100,7 +100,7 @@ options_init(argc,argv,&my_cfg, myopts, 
 
	}
 
	else if(key != NULL && username != NULL || key != "!key" && username != "username" ){
 
		fprintf(stderr, "Your username is %s, and your key is %s.\n",username, key);
 
		loginuser(username); // Logs in user to the server
 
		login_user(username); // Logs in user to the server
 
	}
 
	else{
 
	  fprintf(stderr,"Something is terribly wrong!!!");
src/server/slavefuncs.c
Show inline comments
 
@@ -78,7 +78,7 @@ void register_user(char *username, char 
 
}
 

	
 

	
 
void loginuser(char *username){
 
void login_user(char *username){
 
	// TODO: Why does this segfault???
 
  fprintf(stderr, "Logging you in...");
 
  char *userhost = strcpy(userhost, username);
src/server/slavefuncs.h
Show inline comments
 
@@ -23,7 +23,7 @@
 

	
 
void ssh_keygen();
 
void register_user(char *username, char *email);
 
void loginuser(char *username);
 
void login_user(char *username);
 
void conf_replace(char *username, char *key);
 
void exec_blender(struct blendjob* blendjob, char *input, char *output, int frame);
 

	
0 comments (0 inline, 0 general)