From: Miroslav Lichvar Date: Wed, 24 Sep 2014 14:58:16 +0000 (+0200) Subject: cmdmon: use char for permissions table X-Git-Tag: 2.0-pre1~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2575fa8f83f1ee07859a8e08ab32f03997992d46;p=thirdparty%2Fchrony.git cmdmon: use char for permissions table --- diff --git a/cmdmon.c b/cmdmon.c index 7cfab0fe..a58bb6dd 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -110,7 +110,7 @@ static ResponseCell *free_replies; /* ================================================== */ /* Array of permission levels for command types */ -static int permissions[] = { +static const char permissions[] = { PERMIT_OPEN, /* NULL */ PERMIT_AUTH, /* ONLINE */ PERMIT_AUTH, /* OFFLINE */