[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.35 and 1.36

version 1.35, 2002/03/04 18:30:23 version 1.36, 2002/06/16 21:30:58
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.35  
changed lines
  Added in v.1.36