diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-13 09:44:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-06-13 09:44:37 +0000 |
commit | 43d00340767962573e8f4418536d673eef26b8a9 (patch) | |
tree | 4271b627901a8cccaa2d62e9a9228207b4f16f95 /usr.bin/ssh/packet.c | |
parent | efd5a5ebdd7c1a733b0e7ab881b268904ecd9147 (diff) |
compile on older gcc; no decl after code
Diffstat (limited to 'usr.bin/ssh/packet.c')
-rw-r--r-- | usr.bin/ssh/packet.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c index bc29fa46681..d2865fa592f 100644 --- a/usr.bin/ssh/packet.c +++ b/usr.bin/ssh/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.154 2008/06/12 20:38:28 dtucker Exp $ */ +/* $OpenBSD: packet.c,v 1.155 2008/06/13 09:44:36 deraadt Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -901,9 +901,10 @@ packet_read_seqnr(u_int32_t *seqnr_p) int type, len, ret, ms_remain; fd_set *setp; char buf[8192]; - DBG(debug("packet_read()")); struct timeval timeout, start, *timeoutp = NULL; + DBG(debug("packet_read()")); + setp = (fd_set *)xcalloc(howmany(connection_in+1, NFDBITS), sizeof(fd_mask)); |