summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-05-05 14:05:12 +1000
committerDamien Miller <djm@mindrot.org>2011-05-05 14:05:12 +1000
commitc5219e701ecf6ce28d9bec1aecca5cfac114231d (patch)
tree6ec1fdffd86a169b62e0de25c82b5bd35dc90338
parentb2da7d185e1227501262449b634139349a3f736f (diff)
- okan@cvs.openbsd.org 2011/03/15 10:36:02
[ssh-keyscan.c] use timerclear macro ok djm@
-rw-r--r--ChangeLog4
-rw-r--r--ssh-keyscan.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 24b13ad0e..8a7083236 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,10 @@
14 allow GSSAPI authentication to detect when a server-side failure causes 14 allow GSSAPI authentication to detect when a server-side failure causes
15 authentication failure and don't count such failures against MaxAuthTries; 15 authentication failure and don't count such failures against MaxAuthTries;
16 bz#1244 from simon AT sxw.org.uk; ok markus@ before lock 16 bz#1244 from simon AT sxw.org.uk; ok markus@ before lock
17 - okan@cvs.openbsd.org 2011/03/15 10:36:02
18 [ssh-keyscan.c]
19 use timerclear macro
20 ok djm@
17 21
1820110221 2220110221
19 - (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the 23 - (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index eb282b948..b085dd417 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keyscan.c,v 1.84 2011/01/04 20:44:13 otto Exp $ */ 1/* $OpenBSD: ssh-keyscan.c,v 1.85 2011/03/15 10:36:02 okan Exp $ */
2/* 2/*
3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. 3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4 * 4 *
@@ -535,7 +535,7 @@ conloop(void)
535 seltime.tv_sec--; 535 seltime.tv_sec--;
536 } 536 }
537 } else 537 } else
538 seltime.tv_sec = seltime.tv_usec = 0; 538 timerclear(&seltime);
539 539
540 r = xcalloc(read_wait_nfdset, sizeof(fd_mask)); 540 r = xcalloc(read_wait_nfdset, sizeof(fd_mask));
541 e = xcalloc(read_wait_nfdset, sizeof(fd_mask)); 541 e = xcalloc(read_wait_nfdset, sizeof(fd_mask));