diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-20 11:32:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-20 11:32:18 +0000 |
commit | 739bdf5dab0611603296ee08fdd64ddcc4e0afe9 (patch) | |
tree | bb86342a199899fba56f3d96e45bcf45ee3c4761 /src/fs/test_fs_unindex_persistence.c | |
parent | 10606865799e7f773ced218a594326aff4b14659 (diff) | |
download | gnunet-739bdf5dab0611603296ee08fdd64ddcc4e0afe9.tar.gz gnunet-739bdf5dab0611603296ee08fdd64ddcc4e0afe9.zip |
pc not sc
Diffstat (limited to 'src/fs/test_fs_unindex_persistence.c')
-rw-r--r-- | src/fs/test_fs_unindex_persistence.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/test_fs_unindex_persistence.c b/src/fs/test_fs_unindex_persistence.c index 9bf617ba2..ae7d09bb8 100644 --- a/src/fs/test_fs_unindex_persistence.c +++ b/src/fs/test_fs_unindex_persistence.c | |||
@@ -180,13 +180,13 @@ progress_cb (void *cls, | |||
180 | #endif | 180 | #endif |
181 | break; | 181 | break; |
182 | case GNUNET_FS_STATUS_PUBLISH_SUSPEND: | 182 | case GNUNET_FS_STATUS_PUBLISH_SUSPEND: |
183 | if (event->value.publish.sc == publish) | 183 | if (event->value.publish.pc == publish) |
184 | publish = NULL; | 184 | publish = NULL; |
185 | break; | 185 | break; |
186 | case GNUNET_FS_STATUS_PUBLISH_RESUME: | 186 | case GNUNET_FS_STATUS_PUBLISH_RESUME: |
187 | if (NULL == publish) | 187 | if (NULL == publish) |
188 | { | 188 | { |
189 | publish = event->value.publish.sc; | 189 | publish = event->value.publish.pc; |
190 | return "publish-context"; | 190 | return "publish-context"; |
191 | } | 191 | } |
192 | break; | 192 | break; |
@@ -225,7 +225,7 @@ progress_cb (void *cls, | |||
225 | GNUNET_assert (1 == event->value.publish.anonymity); | 225 | GNUNET_assert (1 == event->value.publish.anonymity); |
226 | break; | 226 | break; |
227 | case GNUNET_FS_STATUS_PUBLISH_STOPPED: | 227 | case GNUNET_FS_STATUS_PUBLISH_STOPPED: |
228 | GNUNET_assert (publish == event->value.publish.sc); | 228 | GNUNET_assert (publish == event->value.publish.pc); |
229 | GNUNET_assert (FILESIZE == event->value.publish.size); | 229 | GNUNET_assert (FILESIZE == event->value.publish.size); |
230 | GNUNET_assert (1 == event->value.publish.anonymity); | 230 | GNUNET_assert (1 == event->value.publish.anonymity); |
231 | GNUNET_FS_stop (fs); | 231 | GNUNET_FS_stop (fs); |