aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-12-21 13:53:05 +0000
committerChristian Grothoff <christian@grothoff.org>2010-12-21 13:53:05 +0000
commitaf852166411e54af128e83da822937ab5600f807 (patch)
treecad33802c881b6b4f4526e5d4e1a104da3576c3a /src/fs/fs_test_lib.c
parenta553756fb96ee6a95b6737246d06a8f4694c83fc (diff)
downloadgnunet-af852166411e54af128e83da822937ab5600f807.tar.gz
gnunet-af852166411e54af128e83da822937ab5600f807.zip
fix
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index b7f3cb55a..0647aca97 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -579,6 +579,7 @@ file_generator (void *cls,
579 uint8_t *cbuf = buf; 579 uint8_t *cbuf = buf;
580 int mod; 580 int mod;
581 581
582 *emsg = NULL;
582 if (buf == NULL) 583 if (buf == NULL)
583 return 0; 584 return 0;
584 for (pos=0;pos<8;pos++) 585 for (pos=0;pos<8;pos++)
@@ -647,6 +648,7 @@ GNUNET_FS_TEST_publish (struct GNUNET_FS_TestDaemon *daemon,
647 { 648 {
648 bsize = GNUNET_MIN (sizeof (buf), 649 bsize = GNUNET_MIN (sizeof (buf),
649 size - off); 650 size - off);
651 emsg = NULL;
650 GNUNET_assert (bsize == 652 GNUNET_assert (bsize ==
651 file_generator (daemon, 653 file_generator (daemon,
652 off, 654 off,