diff options
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r-- | ssh-keyscan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 3f8c5b403..9a9b72f4c 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | 9 | #include "includes.h" |
10 | RCSID("$OpenBSD: ssh-keyscan.c,v 1.27 2001/08/05 23:29:58 markus Exp $"); | 10 | RCSID("$OpenBSD: ssh-keyscan.c,v 1.28 2001/08/27 22:02:13 danh Exp $"); |
11 | 11 | ||
12 | #if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H) | 12 | #if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H) |
13 | #include <sys/queue.h> | 13 | #include <sys/queue.h> |
@@ -786,6 +786,8 @@ main(int argc, char **argv) | |||
786 | 786 | ||
787 | for (j = 0; j < fopt_count; j++) { | 787 | for (j = 0; j < fopt_count; j++) { |
788 | lb = Linebuf_alloc(argv[j], error); | 788 | lb = Linebuf_alloc(argv[j], error); |
789 | if (!lb) | ||
790 | continue; | ||
789 | while ((line = Linebuf_getline(lb)) != NULL) | 791 | while ((line = Linebuf_getline(lb)) != NULL) |
790 | do_host(line); | 792 | do_host(line); |
791 | Linebuf_free(lb); | 793 | Linebuf_free(lb); |