aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-09-05 13:36:42 +0000
committerChristian Grothoff <christian@grothoff.org>2010-09-05 13:36:42 +0000
commit22064b8936b87dad145236f8b52e97b9a0381f69 (patch)
treeccb55bfb69cf356f1eb5fdae259c3d5bc304a5c7 /src
parent8d70c6db692b3119ff140bbf0d7cd39263b56fa8 (diff)
downloadgnunet-22064b8936b87dad145236f8b52e97b9a0381f69.tar.gz
gnunet-22064b8936b87dad145236f8b52e97b9a0381f69.zip
fixes
Diffstat (limited to 'src')
-rw-r--r--src/datastore/datastore_api.c2
-rw-r--r--src/fs/fs_namespace.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index 21675b0b7..5bb4160c2 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -729,10 +729,10 @@ process_status_message (void *cls,
729 (int) status, 729 (int) status,
730 emsg); 730 emsg);
731#endif 731#endif
732 process_queue (h);
732 rc.cont (rc.cont_cls, 733 rc.cont (rc.cont_cls,
733 status, 734 status,
734 emsg); 735 emsg);
735 process_queue (h);
736} 736}
737 737
738 738
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 {