diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-15 12:59:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-15 12:59:28 +0000 |
commit | 38f32265e48027874ea93d20a74cf12d606e772e (patch) | |
tree | d8303571a8f1564517ea38a41fbe1d7afdba77e1 /src | |
parent | 11b82133f7d92497f4057f0231ea7c982af1b9ce (diff) |
-check return value
Diffstat (limited to 'src')
-rw-r--r-- | src/util/pseudonym.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/pseudonym.c b/src/util/pseudonym.c index 2d0bf3fadb..c2b95832ed 100644 --- a/src/util/pseudonym.c +++ b/src/util/pseudonym.c @@ -288,6 +288,7 @@ read_info (const struct GNUNET_CONFIGURATION_Handle *cfg, return GNUNET_OK; } + /** * Return unique variant of the namespace name. * Use it after GNUNET_PSEUDONYM_get_info() to make sure @@ -319,7 +320,7 @@ GNUNET_PSEUDONYM_name_uniquify (const struct GNUNET_CONFIGURATION_Handle *cfg, len = 0; if (0 == STAT (fn, &sbuf)) - GNUNET_DISK_file_size (fn, &len, GNUNET_YES); + GNUNET_break (GNUNET_OK == GNUNET_DISK_file_size (fn, &len, GNUNET_YES)); fh = GNUNET_DISK_file_open (fn, GNUNET_DISK_OPEN_CREATE | GNUNET_DISK_OPEN_READWRITE, |