|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
From b1b7667a44c4e8635b6d8dc070fb2446187fcdc5 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crodriguez@owncloud.com>
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
Date: Fri, 11 Nov 2022 15:28:51 +0000
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
Subject: [PATCH 2/5] journal-remote: code is of type enum
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
MHD_RequestTerminationCode
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
Fixes gcc 13 -Wenum-int-mismatch which are enabled by default.
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
(cherry picked from commit aa70dd624bff6280ab6f2871f62d313bdb1e1bcc)
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
src/journal-remote/microhttpd-util.h | 4 ++--
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
diff --git a/src/journal-remote/microhttpd-util.h b/src/journal-remote/microhttpd-util.h
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
index 7e7d1b56b1..df18335469 100644
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
--- a/src/journal-remote/microhttpd-util.h
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
+++ b/src/journal-remote/microhttpd-util.h
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
@@ -64,11 +64,11 @@ void microhttpd_logger(void *arg, const char *fmt, va_list ap) _printf_(2, 0);
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
int mhd_respondf(struct MHD_Connection *connection,
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
int error,
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
- unsigned code,
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
+ enum MHD_RequestTerminationCode code,
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
const char *format, ...) _printf_(4,5);
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
int mhd_respond(struct MHD_Connection *connection,
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
- unsigned code,
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
+ enum MHD_RequestTerminationCode code,
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
const char *message);
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
int mhd_respond_oom(struct MHD_Connection *connection);
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
--
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
2.39.1
|
|
Zbigniew Jędrzejewski-Szmek |
a142c8 |
|