aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gns/plugin_rest_gns.c3
-rwxr-xr-xsrc/gns/test_plugin_rest_gns.sh2
-rwxr-xr-xsrc/identity/test_plugin_rest_identity.sh2
3 files changed, 2 insertions, 5 deletions
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 4be583f73..495d01504 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -32,6 +32,7 @@
32 32
33#define GNUNET_REST_API_NS_GNS "/gns" 33#define GNUNET_REST_API_NS_GNS "/gns"
34 34
35
35#define GNUNET_REST_GNS_PARAM_NAME "name" 36#define GNUNET_REST_GNS_PARAM_NAME "name"
36 37
37#define GNUNET_REST_GNS_PARAM_RECORD_TYPE "record_type" 38#define GNUNET_REST_GNS_PARAM_RECORD_TYPE "record_type"
@@ -56,7 +57,6 @@ struct Plugin
56}; 57};
57 58
58 59
59
60struct RequestHandle 60struct RequestHandle
61{ 61{
62 62
@@ -208,7 +208,6 @@ handle_gns_response (void *cls,
208 struct MHD_Response *resp; 208 struct MHD_Response *resp;
209 json_t *result_array; 209 json_t *result_array;
210 json_t *record_obj; 210 json_t *record_obj;
211 char *record_value;
212 char *result; 211 char *result;
213 212
214 handle->gns_lookup = NULL; 213 handle->gns_lookup = NULL;
diff --git a/src/gns/test_plugin_rest_gns.sh b/src/gns/test_plugin_rest_gns.sh
index fca35ee2d..7ede44501 100755
--- a/src/gns/test_plugin_rest_gns.sh
+++ b/src/gns/test_plugin_rest_gns.sh
@@ -10,7 +10,7 @@ curl_get () {
10 #$1 is link 10 #$1 is link
11 #$2 is grep 11 #$2 is grep
12 cache="$(curl -v "$1" 2>&1 | grep "$2")" 12 cache="$(curl -v "$1" 2>&1 | grep "$2")"
13 echo $cache 13 #echo $cache
14 if [ "" == "$cache" ] 14 if [ "" == "$cache" ]
15 then 15 then
16 exit 1 16 exit 1
diff --git a/src/identity/test_plugin_rest_identity.sh b/src/identity/test_plugin_rest_identity.sh
index 22a7a53c6..d9377500e 100755
--- a/src/identity/test_plugin_rest_identity.sh
+++ b/src/identity/test_plugin_rest_identity.sh
@@ -3,8 +3,6 @@
3#First, start gnunet-arm and the rest-service. 3#First, start gnunet-arm and the rest-service.
4#Exit 0 means success, exit 1 means failed test 4#Exit 0 means success, exit 1 means failed test
5 5
6#No test for subsystem available
7
8identity_link="http://localhost:7776/identity" 6identity_link="http://localhost:7776/identity"
9wrong_link="http://localhost:7776/identityandmore" 7wrong_link="http://localhost:7776/identityandmore"
10 8