5 Jan
2001
5 Jan
'01
11:12 p.m.
Hi, All Maybe i totally miss the point, is this func correct: int password_same(struct password_item *old, struct password_item *new) { if (old == new) return 1; if ((!old) || (!new)) return 0; return ((old->from == new->from) && (old->to == new->to) && (old->passive == new->passive) && password_same(old, new)); } or the last line should be return ((old->from == new->from) && (old->to == new->to) && (old->passive == new->passive) && password_same(old->next, new->next)); or compare old->password with new->password