summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/README5
-rw-r--r--src/backend/taler-merchant-httpd.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/src/backend/README b/src/backend/README
index 6c06229a..999dd9e6 100644
--- a/src/backend/README
+++ b/src/backend/README
@@ -1,2 +1,7 @@
Here are the files implementing the backend which is in charge of doing
cryptographic calls, binary manipulations and some HTTP/JSON communication.
+
+NOTE:
+
+Makefile.am contains some hardcoded paths that need to be tuned to pick
+the right files.
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index 9ac225b5..59f1d1c5 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -633,12 +633,16 @@ url_handler (void *cls,
response = json_pack ("{s:o, s:o, s:o}", "contract", contract_enc, "sig", sig_enc,
"eddsa_pub", eddsa_pub_enc);
TMH_RESPONSE_reply_json (connection, response, MHD_HTTP_OK);
+ return MHD_YES;
+
+ /* not needed (?) anymore
#define page_ok "\
<!DOCTYPE html> <html><title>Ok</title><body><center> \
<h3>Contract's generation succeeded</h3></center></body></html>"
status = generate_message (&resp, page_ok);
- /* FRONTIER - CODE ABOVE STILL NOT TESTED */
#undef page_ok
+ */
+ /* FRONTIER - CODE ABOVE STILL NOT TESTED */
}
}
}