summaryrefslogtreecommitdiffstats
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-05-05 06:05:12 +0200
committerDamien Miller <djm@mindrot.org>2011-05-05 06:05:12 +0200
commitc5219e701ecf6ce28d9bec1aecca5cfac114231d (patch)
tree6ec1fdffd86a169b62e0de25c82b5bd35dc90338 /ssh-keyscan.c
parent - djm@cvs.openbsd.org 2011/03/10 11:34:25 (diff)
downloadopenssh-c5219e701ecf6ce28d9bec1aecca5cfac114231d.tar.xz
openssh-c5219e701ecf6ce28d9bec1aecca5cfac114231d.zip
- okan@cvs.openbsd.org 2011/03/15 10:36:02
[ssh-keyscan.c] use timerclear macro ok djm@
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c4
1 files changed, 2 insertions, 2 deletions
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 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.84 2011/01/04 20:44:13 otto Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.85 2011/03/15 10:36:02 okan Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
*
@@ -535,7 +535,7 @@ conloop(void)
seltime.tv_sec--;
}
} else
- seltime.tv_sec = seltime.tv_usec = 0;
+ timerclear(&seltime);
r = xcalloc(read_wait_nfdset, sizeof(fd_mask));
e = xcalloc(read_wait_nfdset, sizeof(fd_mask));