projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- verboser log, faster start
[oweals/gnunet.git]
/
src
/
util
/
pseudonym.c
diff --git
a/src/util/pseudonym.c
b/src/util/pseudonym.c
index 48852ee378f9eb1c192679a8c1768c3d1e4d697d..fa48e19e3eb737a9cb1daee75e91401ddf0c9784 100644
(file)
--- a/
src/util/pseudonym.c
+++ b/
src/util/pseudonym.c
@@
-248,6
+248,12
@@
read_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
fn = get_data_filename (cfg, PS_METADATA_DIR, nsid);
GNUNET_assert (fn != NULL);
+ if (GNUNET_YES !=
+ GNUNET_DISK_file_test (fn))
+ {
+ GNUNET_free (fn);
+ return GNUNET_SYSERR;
+ }
fileR = GNUNET_BIO_read_open (fn);
if (fileR == NULL)
{