diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2017-10-09 11:00:40 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2017-10-09 11:00:40 +0200 |
commit | 0e7c1fb8feff37774d66ca46b3eb09492ecf93af (patch) | |
tree | 4d751a17bb9f2e9c5f7408dee4dcc1ece8d3d85a /src/jsonapi | |
parent | dc7f9d7e2bf4e9c607738500051adab58b1bd2f3 (diff) | |
download | gnunet-0e7c1fb8feff37774d66ca46b3eb09492ecf93af.tar.gz gnunet-0e7c1fb8feff37774d66ca46b3eb09492ecf93af.zip |
-add attribute store API, fixes
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; |