]> skyeroc.xyz Git - dgamelaunch/commitdiff
Set me to NULL if new user doesn't enter a username.
authorJilles Tjoelker <jilles@stack.nl>
Tue, 17 Feb 2004 00:58:21 +0000 (00:58 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Tue, 17 Feb 2004 00:58:21 +0000 (00:58 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@240 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index bc086a3cbbe83c9a5443b22710c9e4979aa60634..d47529ee6e961c38b6e2a8443ec17d05240c2319 100644 (file)
@@ -987,6 +987,7 @@ newuser ()
       if (strlen (buf) == 0)
       {
        free(me);
+       me = NULL;
         return;
       }
     }