[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -always output error hint
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -always output error hint |
Date: |
Mon, 24 Oct 2022 03:02:42 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 14503eee7 -always output error hint
14503eee7 is described below
commit 14503eee785f77881c6479501d65a79f2b8c18e5
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Oct 24 10:02:36 2022 +0900
-always output error hint
---
src/namestore/plugin_rest_namestore.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/namestore/plugin_rest_namestore.c
b/src/namestore/plugin_rest_namestore.c
index 2618b4ca0..e02b1fde2 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -336,8 +336,7 @@ do_error (void *cls)
const char* emsg;
int response_code;
- if (0 != handle->ec)
- emsg = GNUNET_strdup (GNUNET_ErrorCode_get_hint (handle->ec));
+ emsg = GNUNET_strdup (GNUNET_ErrorCode_get_hint (handle->ec));
json_object_set_new (json_error, "error", json_string (emsg));
json_object_set_new (json_error, "error_code", json_integer (handle->ec));
response_code = GNUNET_ErrorCode_get_http_status (handle->ec);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -always output error hint,
gnunet <=