From 2f2663bdb735ca155c32b0e12da814e62bbf9e9d Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 16 May 2000 15:00:15 +0000 Subject: [PATCH] Password same now actually works --- nest/password.c | 2 ++ 1 file changed, 2 insertions(+) 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) &&