diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-21 09:50:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-21 09:50:14 +0000 |
commit | 71dfeaa025d162af18707ee92cee1d1121d3f523 (patch) | |
tree | 430a12d6ce151efe7d2c7878fd0141e68552d8b2 /src/fs/gnunet-service-fs_cp.c | |
parent | b1e1d922a582ba7de1cbfde33c2961eb9b03ecc6 (diff) |
-adding a few extra checks for #3615
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index d866a003af..708308f7f6 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c @@ -611,6 +611,7 @@ peer_respect_cb (void *cls, { struct GSF_ConnectedPeer *cp = cls; + GNUNET_assert (NULL != cp->respect_iterate_req); cp->respect_iterate_req = NULL; if ((NULL != record) && (sizeof (cp->disk_respect) == record->value_size)) cp->disk_respect = cp->ppd.respect = *((uint32_t *)record->value); |