diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-11 12:44:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-11 12:44:06 +0000 |
commit | 914ec7ef9e59b69868b92fced96d6693b2097e13 (patch) | |
tree | 9891a3f70dd894a2af1582baf1a3c9ccd53beb43 /src/fs/gnunet-service-fs_cp.c | |
parent | 69d9f80b83053162a38a292fc8a024acb6a463a9 (diff) | |
download | gnunet-914ec7ef9e59b69868b92fced96d6693b2097e13.tar.gz gnunet-914ec7ef9e59b69868b92fced96d6693b2097e13.zip |
add cork option to core api:
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index 6e39d7bd2..4d1cba508 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -368,6 +368,7 @@ core_reserve_callback (void *cls, | |||
368 | { | 368 | { |
369 | /* reservation success, try transmission now! */ | 369 | /* reservation success, try transmission now! */ |
370 | pth->cth = GNUNET_CORE_notify_transmit_ready (GSF_core, | 370 | pth->cth = GNUNET_CORE_notify_transmit_ready (GSF_core, |
371 | GNUNET_YES, | ||
371 | pth->priority, | 372 | pth->priority, |
372 | GNUNET_TIME_absolute_get_remaining (pth->timeout), | 373 | GNUNET_TIME_absolute_get_remaining (pth->timeout), |
373 | peer, | 374 | peer, |
@@ -1110,6 +1111,7 @@ GSF_peer_transmit_ (struct GSF_ConnectedPeer *cp, | |||
1110 | if (is_ready) | 1111 | if (is_ready) |
1111 | { | 1112 | { |
1112 | pth->cth = GNUNET_CORE_notify_transmit_ready (GSF_core, | 1113 | pth->cth = GNUNET_CORE_notify_transmit_ready (GSF_core, |
1114 | GNUNET_YES, | ||
1113 | priority, | 1115 | priority, |
1114 | timeout, | 1116 | timeout, |
1115 | &target, | 1117 | &target, |