[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26344 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26344 - gnunet/src/util |
Date: |
Thu, 7 Mar 2013 09:46:15 +0100 |
Author: grothoff
Date: 2013-03-07 09:46:14 +0100 (Thu, 07 Mar 2013)
New Revision: 26344
Modified:
gnunet/src/util/pseudonym.c
Log:
-fix
Modified: gnunet/src/util/pseudonym.c
===================================================================
--- gnunet/src/util/pseudonym.c 2013-03-06 17:24:00 UTC (rev 26343)
+++ gnunet/src/util/pseudonym.c 2013-03-07 08:46:14 UTC (rev 26344)
@@ -781,7 +781,8 @@
ssize_t ret;
ph = GNUNET_malloc (sizeof (struct GNUNET_PseudonymHandle));
- if (NULL != filename)
+ if ( (NULL != filename) &&
+ (GNUNET_YES == GNUNET_DISK_file_test (filename)) )
{
ret = GNUNET_DISK_fn_read (filename, ph,
sizeof (struct GNUNET_PseudonymHandle));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26344 - gnunet/src/util,
gnunet <=