aboutsummaryrefslogtreecommitdiff
path: root/src/util/pseudonym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/pseudonym.c')
-rw-r--r--src/util/pseudonym.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/pseudonym.c b/src/util/pseudonym.c
index 2d0bf3fad..c2b95832e 100644
--- a/src/util/pseudonym.c
+++ b/src/util/pseudonym.c
@@ -288,6 +288,7 @@ read_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
288 return GNUNET_OK; 288 return GNUNET_OK;
289} 289}
290 290
291
291/** 292/**
292 * Return unique variant of the namespace name. 293 * Return unique variant of the namespace name.
293 * Use it after GNUNET_PSEUDONYM_get_info() to make sure 294 * Use it after GNUNET_PSEUDONYM_get_info() to make sure
@@ -319,7 +320,7 @@ GNUNET_PSEUDONYM_name_uniquify (const struct GNUNET_CONFIGURATION_Handle *cfg,
319 320
320 len = 0; 321 len = 0;
321 if (0 == STAT (fn, &sbuf)) 322 if (0 == STAT (fn, &sbuf))
322 GNUNET_DISK_file_size (fn, &len, GNUNET_YES); 323 GNUNET_break (GNUNET_OK == GNUNET_DISK_file_size (fn, &len, GNUNET_YES));
323 fh = GNUNET_DISK_file_open (fn, 324 fh = GNUNET_DISK_file_open (fn,
324 GNUNET_DISK_OPEN_CREATE | 325 GNUNET_DISK_OPEN_CREATE |
325 GNUNET_DISK_OPEN_READWRITE, 326 GNUNET_DISK_OPEN_READWRITE,