X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Fstatus.c;fp=etc%2Fafpd%2Fstatus.c;h=35e088499db21c56483139df30e3c7b3d5c7f9de;hp=33939abe4ac024e1029a0f8dc474da8ba09b8a0f;hb=dc9bec26418d607ca4b74d6ba8d77c83c90c7c2b;hpb=e6b251426c1061adc716f95b938bb7c53f3bc54a diff --git a/etc/afpd/status.c b/etc/afpd/status.c index 33939abe..35e08849 100644 --- a/etc/afpd/status.c +++ b/etc/afpd/status.c @@ -442,8 +442,7 @@ static size_t status_directorynames(char *data, krb5_unparse_name(context, entry.principal, &principal); #ifdef HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS krb5_free_keytab_entry_contents(context, &entry); -#endif -#ifdef HAVE_KRB5_KT_FREE_ENTRY +#elif defined(HAVE_KRB5_KT_FREE_ENTRY) krb5_kt_free_entry(context, &entry); #endif append_directoryname(&data,