aboutsummaryrefslogtreecommitdiff
path: root/src/identity
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2015-03-26 17:03:19 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2015-03-26 17:03:19 +0000
commit6953069393619f01de19bcfa2041ca0072fb9532 (patch)
treee5b9c15b111fe4fcd0db5005949e87be414b4f82 /src/identity
parent9cbff235e16bb2888aca2ba492f46bca9351142d (diff)
-fix
Diffstat (limited to 'src/identity')
-rw-r--r--src/identity/plugin_rest_identity.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c
index 20e48aba9e..181a21c12f 100644
--- a/src/identity/plugin_rest_identity.c
+++ b/src/identity/plugin_rest_identity.c
@@ -37,8 +37,6 @@
#define ID_REST_STATE_POST_INIT 1
-#define URL_PARAM_SUBSYS "service"
-
#define GNUNET_REST_JSONAPI_IDENTITY_EGO "ego"
#define GNUNET_REST_JSONAPI_IDENTITY_KEY "key"
@@ -307,7 +305,7 @@ ego_info_response (struct RestConnectionDataHandle *con,
return;
}
if ( (strlen (GNUNET_REST_API_NS_IDENTITY) == strlen (handle->url) )) {
- GNUNET_CRYPTO_hash (URL_PARAM_SUBSYS, strlen (URL_PARAM_SUBSYS), &key);
+ GNUNET_CRYPTO_hash (GNUNET_REST_JSONAPI_IDENTITY_SUBSYSTEM, strlen (GNUNET_REST_JSONAPI_IDENTITY_SUBSYSTEM), &key);
if ( GNUNET_YES ==
GNUNET_CONTAINER_multihashmap_contains (handle->conndata_handle->url_param_map,
&key) )