gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26155 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r26155 - gnunet/src/fs
Date: Tue, 19 Feb 2013 05:04:30 +0100

Author: LRN
Date: 2013-02-19 05:04:30 +0100 (Tue, 19 Feb 2013)
New Revision: 26155

Modified:
   gnunet/src/fs/fs_namespace.c
Log:
Don't generate namespace key files in the root dir...

Modified: gnunet/src/fs/fs_namespace.c
===================================================================
--- gnunet/src/fs/fs_namespace.c        2013-02-19 04:04:26 UTC (rev 26154)
+++ gnunet/src/fs/fs_namespace.c        2013-02-19 04:04:30 UTC (rev 26155)
@@ -240,6 +240,12 @@
   struct GNUNET_FS_Namespace *ret;
 
   dn = get_namespace_directory (h);
+  if (NULL == dn)
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                _("Can't determine where namespace directory is\n"));
+    return NULL;
+  }
   GNUNET_asprintf (&fn, "%s%s%s", dn, DIR_SEPARATOR_STR, name);
   GNUNET_free (dn);
   ret = GNUNET_malloc (sizeof (struct GNUNET_FS_Namespace));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]