summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 13:59:38 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 13:59:38 +1100
commit3bbaba60753b3987ba822a2cbf619fb00072a9e5 (patch)
treeefc52fef16af9f6f458c6c5fc447107b71141d38 /ssh-keyscan.c
parentf0b15dfc525227f06a1404231cca2171c62d1178 (diff)
- deraadt@cvs.openbsd.org 2006/03/19 18:59:49
[ssh-keyscan.c] please lint
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c3
1 files changed, 1 insertions, 2 deletions
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;