[BACK]Return to ssh-keyscan.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh-keyscan.c between version 1.30.2.1 and 1.30.2.2

version 1.30.2.1, 2002/03/07 17:37:47 version 1.30.2.2, 2002/06/22 07:23:18
Line 581 
Line 581 
         con *c;          con *c;
   
         gettimeofday(&now, NULL);          gettimeofday(&now, NULL);
         c = tq.tqh_first;          c = TAILQ_FIRST(&tq);
   
         if (c && (c->c_tv.tv_sec > now.tv_sec ||          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))) {              (c->c_tv.tv_sec == now.tv_sec && c->c_tv.tv_usec > now.tv_usec))) {
Line 614 
Line 614 
         xfree(r);          xfree(r);
         xfree(e);          xfree(e);
   
         c = tq.tqh_first;          c = TAILQ_FIRST(&tq);
         while (c && (c->c_tv.tv_sec < now.tv_sec ||          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))) {              (c->c_tv.tv_sec == now.tv_sec && c->c_tv.tv_usec < now.tv_usec))) {
                 int s = c->c_fd;                  int s = c->c_fd;
   
                 c = c->c_link.tqe_next;                  c = TAILQ_NEXT(c, c_link);
                 conrecycle(s);                  conrecycle(s);
         }          }
 }  }

Legend:
Removed from v.1.30.2.1  
changed lines
  Added in v.1.30.2.2