diff options
author | djm <djm> | 2004-03-08 12:13:00 +0000 |
---|---|---|
committer | djm <djm> | 2004-03-08 12:13:00 +0000 |
commit | 8a7b52dd388789c488b8341d71b6e11a44397a32 (patch) | |
tree | 89de5e3b54bf3409b6135cf0d908fef2c77eb704 /ssh-keyscan.c | |
parent | 7cb49333500102e69c914b2636472aa01b3c5bbc (diff) | |
download | openssh-8a7b52dd388789c488b8341d71b6e11a44397a32.tar.gz |
- djm@cvs.openbsd.org 2004/03/08 09:38:05
[ssh-keyscan.c]
explicitly initialise remote_major and remote_minor.
from cjwatson AT debian.org; ok markus@
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r-- | ssh-keyscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 68b6a0ad..266b23cb 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c @@ -7,7 +7,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keyscan.c,v 1.46 2003/11/23 23:17:34 djm Exp $"); +RCSID("$OpenBSD: ssh-keyscan.c,v 1.47 2004/03/08 09:38:05 djm Exp $"); #include "openbsd-compat/sys-queue.h" @@ -489,7 +489,7 @@ conrecycle(int s) static void congreet(int s) { - int remote_major, remote_minor, n = 0; + int remote_major = 0, remote_minor = 0, n = 0; char buf[256], *cp; char remote_version[sizeof buf]; size_t bufsiz; |