Set me to NULL if new user doesn't enter a username.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@240 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Jilles Tjoelker 2004-02-17 00:58:21 +00:00
parent 8769ab9e15
commit f7f3ebcae7
1 changed files with 1 additions and 0 deletions

View File

@ -987,6 +987,7 @@ newuser ()
if (strlen (buf) == 0)
{
free(me);
me = NULL;
return;
}
}