Changeset - a9cef84324c3
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 16 years ago 2009-07-03 12:34:16
ohnobinki@ohnopublishing.net
converted distrend.c from DOS to unix, added error
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -78,12 +78,13 @@ we get a key generated on the server, an
 
char *username = "unregistered"; // get this from conf
 
 
 
 
// Checks if the conf is left at the default username
 
int registered;
 
 error: People, this is not C++
 
if(username == "unregistered") {
 
  fprintf(stderr,"\nYou have not set your username in distrend.conf!\nIf you need to register a username, run distrend -c username email@example.com\n\n");
 
  registered = 0;
 
}
 
else{
 
  fprintf(stderr,"Logging into the DistRen server...\n");
0 comments (0 inline, 0 general)