diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-06-18 19:31:00 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-06-18 19:31:00 +0000 |
commit | 229e7fbe49b1a1ab7121a57af6e241500c09c1bf (patch) | |
tree | 79c3c3c2622332230dcccd084f83e3da3625354b /src/jsonapi | |
parent | 710e8923105dfcc38d8aefed19e6da670db9c440 (diff) | |
download | gnunet-229e7fbe49b1a1ab7121a57af6e241500c09c1bf.tar.gz gnunet-229e7fbe49b1a1ab7121a57af6e241500c09c1bf.zip |
- fix more rest and jsonapi
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 d1d811482..09217279a 100644 --- a/src/jsonapi/jsonapi_resource.c +++ b/src/jsonapi/jsonapi_resource.c | |||
@@ -145,7 +145,7 @@ GNUNET_JSONAPI_resource_add_attr (struct GNUNET_JSONAPI_Resource *resource, | |||
145 | return GNUNET_SYSERR; | 145 | return GNUNET_SYSERR; |
146 | if (NULL == resource->attr_obj) | 146 | if (NULL == resource->attr_obj) |
147 | resource->attr_obj = json_object (); | 147 | resource->attr_obj = json_object (); |
148 | json_object_set_new (resource->attr_obj, key, json); | 148 | json_object_set (resource->attr_obj, key, json); |
149 | return GNUNET_OK; | 149 | return GNUNET_OK; |
150 | } | 150 | } |
151 | 151 | ||