summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-11-29 10:56:59 +0100
committerChristian Grothoff <grothoff@gnunet.org>2022-11-29 21:54:28 +0100
commit361833d6160c6debd99a962d0bef95993b2f3e55 (patch)
tree8be27ebebd3dad049bb479b9b21e45575221d2e0
parentad99fc41cd3059d2b954a0096304c2118ff57e11 (diff)
downloadmerchant-361833d6160c6debd99a962d0bef95993b2f3e55.tar.gz
merchant-361833d6160c6debd99a962d0bef95993b2f3e55.tar.bz2
merchant-361833d6160c6debd99a962d0bef95993b2f3e55.zip
fix #7499
m---------doc/prebuilt0
-rw-r--r--src/backend/taler-merchant-httpd.c14
2 files changed, 6 insertions, 8 deletions
diff --git a/doc/prebuilt b/doc/prebuilt
-Subproject 8452f991dd967328207fab52a99beb19e2cb4df
+Subproject 4739f1447d0e8a6534c7fbdbc361d5d756d1875
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index d16a55ee..6dd48ea1 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -1845,14 +1845,12 @@ run (void *cls,
RFC_8959_PREFIX,
strlen (RFC_8959_PREFIX))) )
{
- char *tmp;
-
- GNUNET_asprintf (&tmp,
- "%s%s",
- RFC_8959_PREFIX,
- TMH_default_auth);
- GNUNET_free (TMH_default_auth);
- TMH_default_auth = tmp;
+ fprintf (stderr,
+ "Authentication token does not start with `%s' prefix\n",
+ RFC_8959_PREFIX);
+ result = GNUNET_SYSERR;
+ GNUNET_SCHEDULER_shutdown ();
+ return;
}
cfg = config;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,