diff options
author | Julius Bünger <buenger@mytum.de> | 2018-10-31 11:59:51 +0100 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-10-31 12:04:02 +0100 |
commit | c376dd1359d198394b240fd15a13877b8b236fe4 (patch) | |
tree | d350b8dbe6233c10f4002693e4fbae556da78f54 /src/rps/rps_api.c | |
parent | b6395044ac67983a271581839e945027f6c089cf (diff) | |
download | gnunet-c376dd1359d198394b240fd15a13877b8b236fe4.tar.gz gnunet-c376dd1359d198394b240fd15a13877b8b236fe4.zip |
RPS profiler: Try to avoid assertion on request_cancel
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r-- | src/rps/rps_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index bce567678..cfab06f17 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c | |||
@@ -854,6 +854,7 @@ GNUNET_RPS_request_cancel (struct GNUNET_RPS_Request_Handle *rh) | |||
854 | struct GNUNET_RPS_Handle *h; | 854 | struct GNUNET_RPS_Handle *h; |
855 | 855 | ||
856 | h = rh->rps_handle; | 856 | h = rh->rps_handle; |
857 | GNUNET_assert (NULL != rh); | ||
857 | GNUNET_assert (NULL != rh->srh); | 858 | GNUNET_assert (NULL != rh->srh); |
858 | remove_stream_request (rh->srh, | 859 | remove_stream_request (rh->srh, |
859 | h->stream_requests_head, | 860 | h->stream_requests_head, |