diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-05 13:36:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-05 13:36:42 +0000 |
commit | 22064b8936b87dad145236f8b52e97b9a0381f69 (patch) | |
tree | ccb55bfb69cf356f1eb5fdae259c3d5bc304a5c7 /src/fs/fs_namespace.c | |
parent | 8d70c6db692b3119ff140bbf0d7cd39263b56fa8 (diff) | |
download | gnunet-22064b8936b87dad145236f8b52e97b9a0381f69.tar.gz gnunet-22064b8936b87dad145236f8b52e97b9a0381f69.zip |
fixes
Diffstat (limited to 'src/fs/fs_namespace.c')
-rw-r--r-- | src/fs/fs_namespace.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index a9bcaf8e5..445ce18cf 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c | |||
@@ -164,6 +164,12 @@ read_update_information_graph (struct GNUNET_FS_Namespace *ns) | |||
164 | char *emsg; | 164 | char *emsg; |
165 | 165 | ||
166 | fn = get_update_information_directory (ns); | 166 | fn = get_update_information_directory (ns); |
167 | if (GNUNET_YES != | ||
168 | GNUNET_DISK_file_test (fn)) | ||
169 | { | ||
170 | GNUNET_free (fn); | ||
171 | return; | ||
172 | } | ||
167 | rh = GNUNET_BIO_read_open (fn); | 173 | rh = GNUNET_BIO_read_open (fn); |
168 | if (rh == NULL) | 174 | if (rh == NULL) |
169 | { | 175 | { |