diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2019-04-23 11:56:41 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-05-08 18:42:03 +1000 |
commit | 3a7db919d5dd09f797971b3cf8ee301767459774 (patch) | |
tree | 8904af4e74b42c98c0e0b2b5df8646c5a250b2cc /ssh.c | |
parent | d7c6e38b87efab1f140745fd8b1106b82e6e4a68 (diff) |
upstream: Use the LogLevel typdef instead of int where appropriate. Patch from Markus Schmidt via openssh-unix-dev, ok markus@
OpenBSD-Commit-ID: 4c0f0f458e3da7807806b35e3eb5c1e8403c968a
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.500 2019/01/19 21:43:56 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.501 2019/04/23 11:56:41 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -236,7 +236,8 @@ resolve_host(const char *name, int port, int logerr, char *cname, size_t clen) | |||
236 | { | 236 | { |
237 | char strport[NI_MAXSERV]; | 237 | char strport[NI_MAXSERV]; |
238 | struct addrinfo hints, *res; | 238 | struct addrinfo hints, *res; |
239 | int gaierr, loglevel = SYSLOG_LEVEL_DEBUG1; | 239 | int gaierr; |
240 | LogLevel loglevel = SYSLOG_LEVEL_DEBUG1; | ||
240 | 241 | ||
241 | if (port <= 0) | 242 | if (port <= 0) |
242 | port = default_ssh_port(); | 243 | port = default_ssh_port(); |