aboutsummaryrefslogtreecommitdiff
path: root/src/rest
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-24 19:13:00 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-24 19:13:00 +0100
commitd17a17ea785f91c18b5694eab3372c4e4564d95e (patch)
treea7ee983fb1c0fa5a9210938024357cd9498ee344 /src/rest
parent5f38569fce2e77afeed58cbd3429c67bf8ab9109 (diff)
downloadgnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.tar.gz
gnunet-d17a17ea785f91c18b5694eab3372c4e4564d95e.zip
fix pointer indentation
Diffstat (limited to 'src/rest')
-rw-r--r--src/rest/rest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rest/rest.c b/src/rest/rest.c
index 0dfd44ce7..0b86530f9 100644
--- a/src/rest/rest.c
+++ b/src/rest/rest.c
@@ -67,7 +67,7 @@ GNUNET_REST_create_response (const char *data)
67 else 67 else
68 len = strlen (data); 68 len = strlen (data);
69 resp = MHD_create_response_from_buffer (len, 69 resp = MHD_create_response_from_buffer (len,
70 (void*) data, 70 (void *) data,
71 MHD_RESPMEM_MUST_COPY); 71 MHD_RESPMEM_MUST_COPY);
72 return resp; 72 return resp;
73} 73}
@@ -99,7 +99,7 @@ GNUNET_REST_handle_request (struct GNUNET_REST_RequestHandle *conn,
99 if (GNUNET_NO == GNUNET_REST_namespace_match (url, handlers[i].namespace)) 99 if (GNUNET_NO == GNUNET_REST_namespace_match (url, handlers[i].namespace))
100 continue; 100 continue;
101 // Match 101 // Match
102 handlers[i].proc (conn, (const char*) url, cls); 102 handlers[i].proc (conn, (const char *) url, cls);
103 GNUNET_free (url); 103 GNUNET_free (url);
104 return GNUNET_YES; 104 return GNUNET_YES;
105 } 105 }