summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2019-04-23 11:56:41 +0000
committerDamien Miller <djm@mindrot.org>2019-05-08 18:42:03 +1000
commit3a7db919d5dd09f797971b3cf8ee301767459774 (patch)
tree8904af4e74b42c98c0e0b2b5df8646c5a250b2cc /clientloop.c
parentd7c6e38b87efab1f140745fd8b1106b82e6e4a68 (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 'clientloop.c')
-rw-r--r--clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index 086c0dfe8..755f29231 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.322 2019/03/29 11:31:40 djm Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.323 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
@@ -1881,7 +1881,7 @@ static void
1881update_known_hosts(struct hostkeys_update_ctx *ctx) 1881update_known_hosts(struct hostkeys_update_ctx *ctx)
1882{ 1882{
1883 int r, was_raw = 0; 1883 int r, was_raw = 0;
1884 int loglevel = options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK ? 1884 LogLevel loglevel = options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK ?
1885 SYSLOG_LEVEL_INFO : SYSLOG_LEVEL_VERBOSE; 1885 SYSLOG_LEVEL_INFO : SYSLOG_LEVEL_VERBOSE;
1886 char *fp, *response; 1886 char *fp, *response;
1887 size_t i; 1887 size_t i;