diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-11-29 10:56:59 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-11-29 21:54:28 +0100 |
commit | 361833d6160c6debd99a962d0bef95993b2f3e55 (patch) | |
tree | 8be27ebebd3dad049bb479b9b21e45575221d2e0 /src/backend | |
parent | ad99fc41cd3059d2b954a0096304c2118ff57e11 (diff) |
fix #7499
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 14 |
1 files changed, 6 insertions, 8 deletions
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, |