bx509d: Use enum MHD_Result return type

This commit is contained in:
Nicolas Williams
2022-01-02 21:11:40 -06:00
parent 53e63d9ec9
commit e328c0e496

View File

@@ -621,7 +621,7 @@ good_bx509(struct bx509_request_desc *r)
return ret;
}
static int
static enum MHD_Result
bx509_param_cb(void *d,
enum MHD_ValueKind kind,
const char *key,
@@ -1706,7 +1706,7 @@ authorize_TGT_REQ(struct bx509_request_desc *r)
return ret;
}
static int
static enum MHD_Result
get_tgt_param_cb(void *d,
enum MHD_ValueKind kind,
const char *key,
@@ -1810,7 +1810,7 @@ health(const char *method, struct bx509_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,