aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-08 13:59:37 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-08 13:59:37 +0000
commit2d2d90d35efcadb64f33fb84b282f7f73e8d859c (patch)
tree1fdc5586206fd536eb6379caaf04db14a069c4cd /src
parent2ddddd76e3435fa8e88a1328bf57b381914a726e (diff)
downloadgnunet-2d2d90d35efcadb64f33fb84b282f7f73e8d859c.tar.gz
gnunet-2d2d90d35efcadb64f33fb84b282f7f73e8d859c.zip
mod
Diffstat (limited to 'src')
-rw-r--r--src/fs/fs_test_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index 205567ace..e7e23d676 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -488,7 +488,7 @@ file_generator (void *cls,
488 mod = (255 - (offset / 1024 / 32)); 488 mod = (255 - (offset / 1024 / 32));
489 if (mod == 0) 489 if (mod == 0)
490 mod = 1; 490 mod = 1;
491 cbuf[pos] = (uint8_t) ((offset * daemon->publish_seed) % mod)); 491 cbuf[pos] = (uint8_t) ((offset * daemon->publish_seed) % mod);
492 } 492 }
493 return max; 493 return max;
494} 494}