[ssh-keyscan.c]
     please lint
This commit is contained in:
Damien Miller 2006-03-26 13:59:38 +11:00
parent f0b15dfc52
commit 3bbaba6075
2 changed files with 5 additions and 3 deletions

View File

@ -46,6 +46,9 @@
- deraadt@cvs.openbsd.org 2006/03/19 18:56:41 - deraadt@cvs.openbsd.org 2006/03/19 18:56:41
[clientloop.c progressmeter.c serverloop.c sshd.c] [clientloop.c progressmeter.c serverloop.c sshd.c]
ARGSUSED for signal handlers ARGSUSED for signal handlers
- deraadt@cvs.openbsd.org 2006/03/19 18:59:49
[ssh-keyscan.c]
please lint
20060325 20060325
- OpenBSD CVS Sync - OpenBSD CVS Sync
@ -4303,4 +4306,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4254 2006/03/26 02:59:20 djm Exp $ $Id: ChangeLog,v 1.4255 2006/03/26 02:59:38 djm Exp $

View File

@ -128,7 +128,7 @@ Linebuf_alloc(const char *filename, void (*errfun) (const char *,...))
lb->stream = stdin; lb->stream = stdin;
} }
if (!(lb->buf = malloc(lb->size = LINEBUF_SIZE))) { if (!(lb->buf = malloc((lb->size = LINEBUF_SIZE)))) {
if (errfun) if (errfun)
(*errfun) ("linebuf (%s): malloc failed\n", lb->filename); (*errfun) ("linebuf (%s): malloc failed\n", lb->filename);
xfree(lb); xfree(lb);
@ -603,7 +603,6 @@ conread(int s)
keyprint(c, keygrab_ssh1(c)); keyprint(c, keygrab_ssh1(c));
confree(s); confree(s);
return; return;
break;
default: default:
fatal("conread: invalid status %d", c->c_status); fatal("conread: invalid status %d", c->c_status);
break; break;