diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-25 08:49:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-25 08:49:47 +0000 |
commit | 390a68296dd89f61461bdca02060d36e2e02af2b (patch) | |
tree | 9aa86841d2052cdd4080f6a4e2003313bf9670bf /src/fs/gnunet-service-fs_cp.c | |
parent | 78469082de0b7fa49724504b7e21bb2e9b4bef05 (diff) | |
download | gnunet-390a68296dd89f61461bdca02060d36e2e02af2b.tar.gz gnunet-390a68296dd89f61461bdca02060d36e2e02af2b.zip |
adapt to new API
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index c4e82350f..9ff96ba36 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -562,17 +562,13 @@ copy_reply (void *cls, | |||
562 | * @param expiration when does 'data' expire? | 562 | * @param expiration when does 'data' expire? |
563 | * @param data response data, NULL on request expiration | 563 | * @param data response data, NULL on request expiration |
564 | * @param data_len number of bytes in data | 564 | * @param data_len number of bytes in data |
565 | * @param more GNUNET_YES if the request remains active (may call | ||
566 | * this function again), GNUNET_NO if the request is | ||
567 | * finished (client must not call GSF_pending_request_cancel_) | ||
568 | */ | 565 | */ |
569 | static void | 566 | static void |
570 | handle_p2p_reply (void *cls, | 567 | handle_p2p_reply (void *cls, |
571 | struct GSF_PendingRequest *pr, | 568 | struct GSF_PendingRequest *pr, |
572 | struct GNUNET_TIME_Absolute expiration, | 569 | struct GNUNET_TIME_Absolute expiration, |
573 | const void *data, | 570 | const void *data, |
574 | size_t data_len, | 571 | size_t data_len) |
575 | int more) | ||
576 | { | 572 | { |
577 | struct GSF_ConnectedPeer *cp = cls; | 573 | struct GSF_ConnectedPeer *cp = cls; |
578 | struct GSF_PendingRequestData *prd; | 574 | struct GSF_PendingRequestData *prd; |
@@ -582,7 +578,6 @@ handle_p2p_reply (void *cls, | |||
582 | prd = GSF_pending_request_get_data_ (pr); | 578 | prd = GSF_pending_request_get_data_ (pr); |
583 | if (NULL == data) | 579 | if (NULL == data) |
584 | { | 580 | { |
585 | GNUNET_assert (GNUNET_NO == more); | ||
586 | GNUNET_STATISTICS_update (GSF_stats, | 581 | GNUNET_STATISTICS_update (GSF_stats, |
587 | gettext_noop ("# P2P searches active"), | 582 | gettext_noop ("# P2P searches active"), |
588 | -1, | 583 | -1, |