diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-08-29 08:20:01 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-08-29 08:20:01 +0000 |
commit | cda23f9580da561752aee04753054aa6225af7cf (patch) | |
tree | 672c9aee2b8b69f949eddabf1ca53f5349e93150 /src/jsonapi | |
parent | 779db80dab9172bde626d5e0b0b93a435e7a7128 (diff) | |
download | gnunet-cda23f9580da561752aee04753054aa6225af7cf.tar.gz gnunet-cda23f9580da561752aee04753054aa6225af7cf.zip |
- fix coverity
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 09217279a..85bca10ee 100644 --- a/src/jsonapi/jsonapi_resource.c +++ b/src/jsonapi/jsonapi_resource.c | |||
@@ -52,7 +52,7 @@ GNUNET_JSONAPI_resource_to_json (const struct GNUNET_JSONAPI_Resource *res, | |||
52 | default: | 52 | default: |
53 | res_json = json_array (); | 53 | res_json = json_array (); |
54 | rel_res = NULL; | 54 | rel_res = NULL; |
55 | for (rel_res = rel_res->relationship->res_list_head; | 55 | for (rel_res = res->relationship->res_list_head; |
56 | rel_res != NULL; | 56 | rel_res != NULL; |
57 | rel_res = rel_res->next) | 57 | rel_res = rel_res->next) |
58 | { | 58 | { |