fixing common off-by-one error with respect to maximum message size
[oweals/gnunet.git] / src / fs / test_fs_download_indexed.c
index 87461d1709c0be73ceabcea17e43e75d7915cb4d..392488dc7faa8588706d8d80c9a3cac46bc9deb8 100644 (file)
@@ -213,7 +213,7 @@ progress_cb (void *cls,
       GNUNET_assert (1 == event->value.publish.anonymity);
       break;
     case GNUNET_FS_STATUS_PUBLISH_STOPPED:
-      GNUNET_assert (publish == event->value.publish.sc);
+      GNUNET_assert (publish == event->value.publish.pc);
       GNUNET_assert (FILESIZE == event->value.publish.size);
       GNUNET_assert (1 == event->value.publish.anonymity);
       GNUNET_SCHEDULER_add_now (sched,