From ba1ec43e54b5839a45acec688b2d072bea291818 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 8 Jan 2003 03:51:50 +0000 Subject: [PATCH] * sendto_kdc.c (state_strings): Now const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15095 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 4 ++++ src/lib/krb5/os/sendto_kdc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 059fb8913..28e9e1a17 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +2003-01-07 Ken Raeburn + + * sendto_kdc.c (state_strings): Now const. + 2002-12-06 Tom Yu * accessor.c (krb5int_accessor): Add add_host_to_list. diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index 300e9777e..eac4b3a2b 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -380,7 +380,7 @@ static char *bogus_strerror (int xerr) #include "cm.h" -static const char *state_strings[] = { +static const char *const state_strings[] = { "INITIALIZING", "CONNECTING", "WRITING", "READING", "FAILED" }; enum conn_states { INITIALIZING, CONNECTING, WRITING, READING, FAILED }; -- 2.26.2