diff options
Diffstat (limited to 'src/jsonapi')
-rw-r--r-- | src/jsonapi/jsonapi_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsonapi/jsonapi_resource.c b/src/jsonapi/jsonapi_resource.c index 4a166f58a..be28ad5df 100644 --- a/src/jsonapi/jsonapi_resource.c +++ b/src/jsonapi/jsonapi_resource.c | |||
@@ -245,7 +245,7 @@ GNUNET_JSONAPI_resource_check_id (const struct GNUNET_JSONAPI_Resource *resource | |||
245 | * @param res the JSON resource | 245 | * @param res the JSON resource |
246 | * @return the resource id | 246 | * @return the resource id |
247 | */ | 247 | */ |
248 | char* | 248 | const char* |
249 | GNUNET_JSONAPI_resource_get_id (const struct GNUNET_JSONAPI_Resource *resource) | 249 | GNUNET_JSONAPI_resource_get_id (const struct GNUNET_JSONAPI_Resource *resource) |
250 | { | 250 | { |
251 | return resource->id; | 251 | return resource->id; |