[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-anastasis] branch master updated: help
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-anastasis] branch master updated: help |
Date: |
Thu, 10 Oct 2019 10:43:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 38e4471 help
38e4471 is described below
commit 38e4471d5d62b15c6146b8ad7007e915c65b9a96
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Oct 10 10:43:32 2019 +0200
help
---
src/backup-db/Makefile.am | 8 ++++----
src/backup/anastasis-httpd.c | 21 +++++++++++++--------
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/src/backup-db/Makefile.am b/src/backup-db/Makefile.am
index 6d6538d..9e3645a 100644
--- a/src/backup-db/Makefile.am
+++ b/src/backup-db/Makefile.am
@@ -6,7 +6,7 @@ plugindir = $(libdir)/taler
if HAVE_POSTGRESQL
if HAVE_GNUNETPQ
plugin_LTLIBRARIES = \
- libtaler_plugin_merchantdb_postgres.la
+ libanastasis_plugin_db_postgres.la
endif
endif
@@ -15,11 +15,11 @@ if USE_COVERAGE
XLIB = -lgcov
endif
-libtaler_plugin_merchantdb_postgres_la_SOURCES = \
+libanastasis_plugin_db_postgres_la_SOURCES = \
plugin_anastasis_postgres.c
-libtaler_plugin_merchantdb_postgres_la_LIBADD = \
+libanastasis_plugin_db_postgres_la_LIBADD = \
$(LTLIBINTL)
-libtaler_plugin_merchantdb_postgres_la_LDFLAGS = \
+libanastasis_plugin_db_postgres_la_LDFLAGS = \
$(TALER_PLUGIN_LDFLAGS) \
-lgnunetpq \
-lpq \
diff --git a/src/backup/anastasis-httpd.c b/src/backup/anastasis-httpd.c
index 0f9d0f7..2205814 100644
--- a/src/backup/anastasis-httpd.c
+++ b/src/backup/anastasis-httpd.c
@@ -191,16 +191,21 @@ url_handler (void *cls,
"Handling request (%s) for URL '%s'\n",
method,
url);
-
+ if (0 == strncmp (url,
+ "/policy/",
+ strlen ("/policy/")))
+ {
+ // return handle_policy (...);
+ }
for (unsigned int i=0;NULL != handlers[i].url;i++)
{
struct TMH_RequestHandler *rh = &handlers[i];
- if ( (0 == strcasecmp (url,
- rh->url)) &&
+ if ( (0 == strcmp (url,
+ rh->url)) &&
( (NULL == rh->method) ||
- (0 == strcasecmp (method,
- rh->method)) ) )
+ (0 == strcmp (method,
+ rh->method)) ) )
{
int ret;
@@ -408,13 +413,13 @@ run (void *cls,
int fh;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Starting taler-merchant-httpd\n");
+ "Starting anastasis-httpd\n");
result = GNUNET_SYSERR;
GNUNET_SCHEDULER_add_shutdown (&do_shutdown,
NULL);
GNUNET_assert (GNUNET_OK ==
- GNUNET_log_setup ("taler-merchant-httpd",
+ GNUNET_log_setup ("anastasis-httpd",
"WARNING",
NULL));
{
@@ -426,7 +431,7 @@ run (void *cls,
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_choice (config,
- "merchant",
+ "anastasis",
"serve",
choices,
&serve_type))
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-anastasis] branch master updated: help,
gnunet <=