diff options
author | 2011-03-15 10:36:02 +0000 | |
---|---|---|
committer | 2011-03-15 10:36:02 +0000 | |
commit | 65f5a35d2b35da50743649fc4a23d9faa590591e (patch) | |
tree | c7134f3f3e0f957b040e5572aa9c640c545c1e11 /usr.bin/ssh/ssh-keyscan.c | |
parent | Make it clear that rc_reload=NO is not about a daemon not supporting (diff) | |
download | wireguard-openbsd-65f5a35d2b35da50743649fc4a23d9faa590591e.tar.xz wireguard-openbsd-65f5a35d2b35da50743649fc4a23d9faa590591e.zip |
use timerclear macro
ok djm@
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index cea4da54fd3..ff7e8450ae7 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/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>. * @@ -520,7 +520,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)); |