Changeset - 5dd0980c364a
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-31 19:39:57

Added returns in returns lol
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/server/slavefuncs.c
Show inline comments
 
@@ -124,11 +124,13 @@ int register_user(char *username, char *
 
  // puts the person's username in the conf
 
  if(conf_replace(username) == 0){
 
	  fprintf(stderr, "Failed!\n");
 
	  return 0;
 
  }
 

	
 
  // generates keys for login, @TODO: pub key must somehow be sent to the server.
 
  if(ssh_keygen() == 0){
 
	  fprintf(stderr, "Failed!\n");
 
	  return 0;
 
  }
 

	
 
  return 1;
0 comments (0 inline, 0 general)