diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-05 12:51:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-05 12:51:05 +0000 |
commit | f811206714d9cef29580a1944a0ef55d7be4972a (patch) | |
tree | 1c09388397dd93f2006e8737f2b1f369bfe7923a /src/util/bio.c | |
parent | a8594b108fb91bf69b56cc69fe918e12ef43357b (diff) | |
download | gnunet-f811206714d9cef29580a1944a0ef55d7be4972a.tar.gz gnunet-f811206714d9cef29580a1944a0ef55d7be4972a.zip |
code clean up
Diffstat (limited to 'src/util/bio.c')
-rw-r--r-- | src/util/bio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/bio.c b/src/util/bio.c index 8c3daed15..83afa34f3 100644 --- a/src/util/bio.c +++ b/src/util/bio.c | |||
@@ -56,7 +56,8 @@ GNUNET_BIO_read_open (const char *fn) | |||
56 | struct GNUNET_DISK_FileHandle *fd; | 56 | struct GNUNET_DISK_FileHandle *fd; |
57 | struct GNUNET_BIO_ReadHandle *h; | 57 | struct GNUNET_BIO_ReadHandle *h; |
58 | 58 | ||
59 | fd = GNUNET_DISK_file_open (fn, GNUNET_DISK_OPEN_READ); | 59 | fd = GNUNET_DISK_file_open (fn, GNUNET_DISK_OPEN_READ, |
60 | GNUNET_DISK_PERM_NONE); | ||
60 | if (NULL == fd) | 61 | if (NULL == fd) |
61 | return NULL; | 62 | return NULL; |
62 | h = GNUNET_malloc (sizeof(struct GNUNET_BIO_ReadHandle) + BIO_BUFFER_SIZE); | 63 | h = GNUNET_malloc (sizeof(struct GNUNET_BIO_ReadHandle) + BIO_BUFFER_SIZE); |