=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-keyscan.c,v retrieving revision 1.30.2.1 retrieving revision 1.30.2.2 diff -u -r1.30.2.1 -r1.30.2.2 --- src/usr.bin/ssh/ssh-keyscan.c 2002/03/07 17:37:47 1.30.2.1 +++ src/usr.bin/ssh/ssh-keyscan.c 2002/06/22 07:23:18 1.30.2.2 @@ -7,7 +7,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keyscan.c,v 1.30.2.1 2002/03/07 17:37:47 jason Exp $"); +RCSID("$OpenBSD: ssh-keyscan.c,v 1.30.2.2 2002/06/22 07:23:18 miod Exp $"); #include #include @@ -581,7 +581,7 @@ con *c; gettimeofday(&now, NULL); - c = tq.tqh_first; + c = TAILQ_FIRST(&tq); if (c && (c->c_tv.tv_sec > now.tv_sec || (c->c_tv.tv_sec == now.tv_sec && c->c_tv.tv_usec > now.tv_usec))) { @@ -614,12 +614,12 @@ xfree(r); xfree(e); - c = tq.tqh_first; + c = TAILQ_FIRST(&tq); while (c && (c->c_tv.tv_sec < now.tv_sec || (c->c_tv.tv_sec == now.tv_sec && c->c_tv.tv_usec < now.tv_usec))) { int s = c->c_fd; - c = c->c_link.tqe_next; + c = TAILQ_NEXT(c, c_link); conrecycle(s); } }