commit 9f17c97dac2b745ae26588ea524f287e76771433
parent bb282c5f8dfb9bdc952282d6969c47b717a21c9e
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 28 Apr 2021 15:40:27 +0200
Merge branch 'master' of git+ssh://git.taler.net/sync
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -49,7 +49,8 @@ AS_IF([test "x$doc_only" != xyes],[
AC_PROG_CC
AC_PROG_CC_C99
-CFLAGS="-Wall $CFLAGS"
+# Force some CFLAGS
+CFLAGS="-Wall -Wno-address-of-packed-member $CFLAGS"
# Checks for header files.
AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h])
diff --git a/src/sync/sync-httpd_backup_post.c b/src/sync/sync-httpd_backup_post.c
@@ -319,7 +319,7 @@ proposal_cb (void *cls,
"Backend returned status %u/%u\n",
por->hr.http_status,
(unsigned int) por->hr.ec);
- GNUNET_break (0);
+ GNUNET_break_op (0);
bc->resp = TALER_MHD_make_json_pack (
"{s:I, s:s, s:I, s:I, s:O?}",
"code",
@@ -333,7 +333,7 @@ proposal_cb (void *cls,
"backend-reply",
por->hr.reply);
GNUNET_assert (NULL != bc->resp);
- bc->response_code = MHD_HTTP_FAILED_DEPENDENCY;
+ bc->response_code = MHD_HTTP_BAD_GATEWAY;
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_INFO,