aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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,