diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:15:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:15:38 +0000 |
commit | e7b6929291bc646bd82602705b3690baf9251c77 (patch) | |
tree | ad252475fbceb9b8e215f7fa005682a898bcc459 /src/fs | |
parent | f3af36f85e37e7ee0a5f7bbaf285d5f91b053206 (diff) | |
download | gnunet-e7b6929291bc646bd82602705b3690baf9251c77.tar.gz gnunet-e7b6929291bc646bd82602705b3690baf9251c77.zip |
assert
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-service-fs_pe.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c index 6c4d3df17..e45585db6 100644 --- a/src/fs/gnunet-service-fs_pe.c +++ b/src/fs/gnunet-service-fs_pe.c | |||
@@ -389,9 +389,10 @@ GSF_plan_notify_peer_disconnect_ (const struct GSF_ConnectedPeer *cp) | |||
389 | &id.hashPubKey); | 389 | &id.hashPubKey); |
390 | if (NULL == pp) | 390 | if (NULL == pp) |
391 | return; /* nothing was ever planned for this peer */ | 391 | return; /* nothing was ever planned for this peer */ |
392 | GNUNET_CONTAINER_multihashmap_remove (plans, | 392 | GNUNET_assert (GNUNET_OK == |
393 | &id.hashPubKey, | 393 | GNUNET_CONTAINER_multihashmap_remove (plans, |
394 | pp); | 394 | &id.hashPubKey, |
395 | pp)); | ||
395 | if (NULL != pp->pth) | 396 | if (NULL != pp->pth) |
396 | GSF_peer_transmit_cancel_ (pp->pth); | 397 | GSF_peer_transmit_cancel_ (pp->pth); |
397 | if (GNUNET_SCHEDULER_NO_TASK != pp->task) | 398 | if (GNUNET_SCHEDULER_NO_TASK != pp->task) |