assert
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@297 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
e07195ad82
commit
cd3f89cbc9
|
@ -1023,8 +1023,7 @@ newuser ()
|
||||||
int
|
int
|
||||||
passwordgood (char *cpw)
|
passwordgood (char *cpw)
|
||||||
{
|
{
|
||||||
if (me == NULL)
|
assert (me != NULL);
|
||||||
return 0;
|
|
||||||
|
|
||||||
if (!strncmp (crypt (cpw, cpw), me->password, 13))
|
if (!strncmp (crypt (cpw, cpw), me->password, 13))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue