[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: Moving code.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: Moving code. |
Date: |
Sat, 15 Jun 2019 20:18:16 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 64d9a74 Moving code.
64d9a74 is described below
commit 64d9a74739c8a2b8da5b21fcce69a85dbb81923f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jun 15 20:17:20 2019 +0200
Moving code.
---
src/backend/taler-merchant-httpd.c | 48 +++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/src/backend/taler-merchant-httpd.c
b/src/backend/taler-merchant-httpd.c
index 2d4148c..50b80cd 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -860,32 +860,32 @@ wireformat_iterator_cb (void *cls,
iic->ret = GNUNET_SYSERR;
return;
}
- }
- if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string
- (iic->config,
- section,
- "WIRE_FILE_MODE",
- &wire_file_mode))
- {
- errno = 0;
- mode_t mode = (mode_t) strtoul (wire_file_mode, NULL, 8);
- if (0 != errno)
+ if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string
+ (iic->config,
+ section,
+ "WIRE_FILE_MODE",
+ &wire_file_mode))
{
- GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_ERROR,
- section,
- "WIRE_FILE_MODE",
- "Must be octal number\n");
- iic->ret = GNUNET_SYSERR;
- GNUNET_free (fn);
- return;
- }
- if (0 != chmod (fn, mode))
- {
- TALER_LOG_ERROR ("chmod failed on %s\n", fn);
- iic->ret = GNUNET_SYSERR;
- GNUNET_free (fn);
- return;
+ errno = 0;
+ mode_t mode = (mode_t) strtoul (wire_file_mode, NULL, 8);
+ if (0 != errno)
+ {
+ GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_ERROR,
+ section,
+ "WIRE_FILE_MODE",
+ "Must be octal number\n");
+ iic->ret = GNUNET_SYSERR;
+ GNUNET_free (fn);
+ return;
+ }
+ if (0 != chmod (fn, mode))
+ {
+ TALER_LOG_ERROR ("chmod failed on %s\n", fn);
+ iic->ret = GNUNET_SYSERR;
+ GNUNET_free (fn);
+ return;
+ }
}
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: Moving code.,
gnunet <=