aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r--src/backend/taler-merchant-httpd.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index 8730c119..f14c2c7e 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -28,6 +28,7 @@
#include <taler/taler_mhd_lib.h>
#include <taler/taler_templating_lib.h>
#include <taler/taler_exchange_service.h>
+#include "taler_merchant_util.h"
#include "taler-merchant-httpd_config.h"
#include "taler-merchant-httpd_exchanges.h"
#include "taler-merchant-httpd_get-orders-ID.h"
@@ -2444,12 +2445,13 @@ main (int argc,
GNUNET_GETOPT_OPTION_END
};
- TALER_OS_init ();
- res = GNUNET_PROGRAM_run (argc, argv,
- "taler-merchant-httpd",
- "Taler merchant's HTTP backend interface",
- options,
- &run, NULL);
+ res = GNUNET_PROGRAM_run (
+ TALER_MERCHANT_project_data (),
+ argc, argv,
+ "taler-merchant-httpd",
+ "Taler merchant's HTTP backend interface",
+ options,
+ &run, NULL);
if (GNUNET_SYSERR == res)
return EXIT_INVALIDARGUMENT;
if (GNUNET_NO == res)