summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2019-04-23 11:56:41 +0000
committerdtucker <dtucker@openbsd.org>2019-04-23 11:56:41 +0000
commitb770b018fbd1c571eca5c9015b402297ab545be1 (patch)
tree09accd40712ae2e78cb5484818c1f32508391614 /usr.bin/ssh/ssh.c
parentgive gre and mgre percpu counters too (diff)
downloadwireguard-openbsd-b770b018fbd1c571eca5c9015b402297ab545be1.tar.xz
wireguard-openbsd-b770b018fbd1c571eca5c9015b402297ab545be1.zip
Use the LogLevel typdef instead of int where appropriate. Patch from
Markus Schmidt via openssh-unix-dev, ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 15c4eb3bcef..1e773ebaf13 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.500 2019/01/19 21:43:56 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.501 2019/04/23 11:56:41 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -220,7 +220,8 @@ resolve_host(const char *name, int port, int logerr, char *cname, size_t clen)
{
char strport[NI_MAXSERV];
struct addrinfo hints, *res;
- int gaierr, loglevel = SYSLOG_LEVEL_DEBUG1;
+ int gaierr;
+ LogLevel loglevel = SYSLOG_LEVEL_DEBUG1;
if (port <= 0)
port = default_ssh_port();