From a6e36356b5d10d78693efc081b997b55ca351dfb Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 20 Jan 2016 15:14:01 -0600 Subject: [PATCH] KDC: fix C-style --- kdc/connect.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kdc/connect.c b/kdc/connect.c index f711304c5..c4cd9f88a 100644 --- a/kdc/connect.c +++ b/kdc/connect.c @@ -1008,13 +1008,15 @@ reap_kid(krb5_context context, krb5_kdc_configuration *config, if (pid < 1) return 0; - for (i=0; i < max_kids; i++) + for (i=0; i < max_kids; i++) { if (pids[i] == pid) break; + } - if (i == max_kids) + if (i == max_kids) { /* XXXrcd: this should not happen, have to do something, though */ return 0; + } /* XXXrcd: should likely log exit code and the like */ kdc_log(context, config, 0, "sub-KDC reaped: %d", pid);