From 8be05797cc65acd25a8a75fadf1264a85ae26e89 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sun, 2 Jan 2022 21:11:48 -0600 Subject: [PATCH] httpkadmind: Use enum MHD_Result return type --- kdc/httpkadmind.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kdc/httpkadmind.c b/kdc/httpkadmind.c index 77c5333cf..47b8a1285 100644 --- a/kdc/httpkadmind.c +++ b/kdc/httpkadmind.c @@ -565,7 +565,7 @@ redirect_uri_appends(struct redirect_uri *redirect, redirect->len += len; } -static int +static enum MHD_Result make_redirect_uri_param_cb(void *d, enum MHD_ValueKind kind, const char *key, @@ -881,7 +881,7 @@ check_service_name(kadmin_request_desc r, const char *name) return EACCES; } -static int +static enum MHD_Result param_cb(void *d, enum MHD_ValueKind kind, const char *key, @@ -1874,7 +1874,7 @@ health(const char *method, kadmin_request_desc r) } /* Implements the entirety of this REST service */ -static int +static enum MHD_Result route(void *cls, struct MHD_Connection *connection, const char *url,