diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ssh-keyscan.c | 3 |
2 files changed, 5 insertions, 3 deletions
@@ -46,6 +46,9 @@ | |||
46 | - deraadt@cvs.openbsd.org 2006/03/19 18:56:41 | 46 | - deraadt@cvs.openbsd.org 2006/03/19 18:56:41 |
47 | [clientloop.c progressmeter.c serverloop.c sshd.c] | 47 | [clientloop.c progressmeter.c serverloop.c sshd.c] |
48 | ARGSUSED for signal handlers | 48 | ARGSUSED for signal handlers |
49 | - deraadt@cvs.openbsd.org 2006/03/19 18:59:49 | ||
50 | [ssh-keyscan.c] | ||
51 | please lint | ||
49 | 52 | ||
50 | 20060325 | 53 | 20060325 |
51 | - OpenBSD CVS Sync | 54 | - OpenBSD CVS Sync |
@@ -4303,4 +4306,4 @@ | |||
4303 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 4306 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
4304 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 4307 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
4305 | 4308 | ||
4306 | $Id: ChangeLog,v 1.4254 2006/03/26 02:59:20 djm Exp $ | 4309 | $Id: ChangeLog,v 1.4255 2006/03/26 02:59:38 djm Exp $ |
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index fee6406be..c7296938b 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -128,7 +128,7 @@ Linebuf_alloc(const char *filename, void (*errfun) (const char *,...)) | |||
128 | lb->stream = stdin; | 128 | lb->stream = stdin; |
129 | } | 129 | } |
130 | 130 | ||
131 | if (!(lb->buf = malloc(lb->size = LINEBUF_SIZE))) { | 131 | if (!(lb->buf = malloc((lb->size = LINEBUF_SIZE)))) { |
132 | if (errfun) | 132 | if (errfun) |
133 | (*errfun) ("linebuf (%s): malloc failed\n", lb->filename); | 133 | (*errfun) ("linebuf (%s): malloc failed\n", lb->filename); |
134 | xfree(lb); | 134 | xfree(lb); |
@@ -603,7 +603,6 @@ conread(int s) | |||
603 | keyprint(c, keygrab_ssh1(c)); | 603 | keyprint(c, keygrab_ssh1(c)); |
604 | confree(s); | 604 | confree(s); |
605 | return; | 605 | return; |
606 | break; | ||
607 | default: | 606 | default: |
608 | fatal("conread: invalid status %d", c->c_status); | 607 | fatal("conread: invalid status %d", c->c_status); |
609 | break; | 608 | break; |