aboutsummaryrefslogtreecommitdiff
path: root/src/identity
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-07-26 02:31:30 +0200
committerPhil <phil.buschmann@tum.de>2018-07-26 02:31:30 +0200
commitf7ca27a73e69a8c224d65768be3416ff1388c1d7 (patch)
tree7530a6def74a55885780285162b18b4c2b353380 /src/identity
parentcc577a227d6a5ae8ef75e0fa91ef98ced2d2b743 (diff)
downloadgnunet-f7ca27a73e69a8c224d65768be3416ff1388c1d7.tar.gz
gnunet-f7ca27a73e69a8c224d65768be3416ff1388c1d7.zip
change namestore, json handling; fix identity, gns
Diffstat (limited to 'src/identity')
-rw-r--r--src/identity/plugin_rest_identity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c
index 59dad66c7..49fa9f0fb 100644
--- a/src/identity/plugin_rest_identity.c
+++ b/src/identity/plugin_rest_identity.c
@@ -42,7 +42,7 @@
42/** 42/**
43 * Error messages 43 * Error messages
44 */ 44 */
45#define GNUNET_REST_ERROR_UNKNOWN "Unknown Error" 45#define GNUNET_REST_IDENTITY_ERROR_UNKNOWN "Unknown Error"
46#define GNUNET_REST_ERROR_RESOURCE_INVALID "Resource location invalid" 46#define GNUNET_REST_ERROR_RESOURCE_INVALID "Resource location invalid"
47#define GNUNET_REST_ERROR_NO_DATA "No data" 47#define GNUNET_REST_ERROR_NO_DATA "No data"
48#define GNUNET_REST_ERROR_DATA_INVALID "Data invalid" 48#define GNUNET_REST_ERROR_DATA_INVALID "Data invalid"
@@ -251,7 +251,7 @@ do_error (void *cls)
251 char *response; 251 char *response;
252 252
253 if (NULL == handle->emsg) 253 if (NULL == handle->emsg)
254 handle->emsg = GNUNET_strdup(GNUNET_REST_ERROR_UNKNOWN); 254 handle->emsg = GNUNET_strdup(GNUNET_REST_IDENTITY_ERROR_UNKNOWN);
255 255
256 json_object_set_new(json_error,"error", json_string(handle->emsg)); 256 json_object_set_new(json_error,"error", json_string(handle->emsg));
257 257