diff options
author | Pavel Machek <pavel@ucw.cz> | 2000-05-16 15:00:15 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2000-05-16 15:00:15 +0000 |
commit | 2f2663bdb735ca155c32b0e12da814e62bbf9e9d (patch) | |
tree | 092f4e83cd7712c1aa0304f1fceda627a9102e91 /nest/password.c | |
parent | 898fdd85dc4568816ac0436c1b012f2fb35ef3e4 (diff) |
Password same now actually works
Diffstat (limited to 'nest/password.c')
-rw-r--r-- | nest/password.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/password.c b/nest/password.c index b8acb53b..30c09bf6 100644 --- a/nest/password.c +++ b/nest/password.c @@ -54,6 +54,8 @@ password_strncpy(char *to, char *from, int len) int password_same(struct password_item *old, struct password_item *new) { + if (old == new) + return 1; return ((old->from == new->from) && (old->to == new->to) && (old->passive == new->passive) && |