aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-12-22 10:56:46 +0000
committerChristian Grothoff <christian@grothoff.org>2010-12-22 10:56:46 +0000
commit0886b0534fa6a48e452a9fd4dcfebc520e6afd7c (patch)
treef10227f62b8a73cd1eae2b3f44e5d6b2f5299723 /src
parentb490bb6d8ce680cce93d3ac44d934c8f38cd0ddc (diff)
downloadgnunet-0886b0534fa6a48e452a9fd4dcfebc520e6afd7c.tar.gz
gnunet-0886b0534fa6a48e452a9fd4dcfebc520e6afd7c.zip
fix
Diffstat (limited to 'src')
-rw-r--r--src/fs/fs_test_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index 3112ce9a2..f24a11e82 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -580,7 +580,8 @@ file_generator (void *cls,
580 uint8_t *cbuf = buf; 580 uint8_t *cbuf = buf;
581 int mod; 581 int mod;
582 582
583 *emsg = NULL; 583 if (emsg != NULL)
584 *emsg = NULL;
584 if (buf == NULL) 585 if (buf == NULL)
585 return 0; 586 return 0;
586 for (pos=0;pos<8;pos++) 587 for (pos=0;pos<8;pos++)