merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit f47347add14651dc0156c022f7b662e06350df85
parent a27679c670c8223819d319b97302858fd772530c
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 26 Apr 2016 21:46:37 +0200

create directories

Diffstat:
Msrc/backend/taler-merchant-httpd.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c @@ -698,6 +698,13 @@ run (void *cls, "Creating listen socket '%s' with mode %o\n", serve_unixpath, unixpath_mode); + if (GNUNET_OK != GNUNET_DISK_directory_create_for_file (serve_unixpath)) + { + GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, + "mkdir", + serve_unixpath); + } + un = GNUNET_new (struct sockaddr_un); un->sun_family = AF_UNIX; strncpy (un->sun_path, serve_unixpath, sizeof (un->sun_path) - 1);