gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r1297 - GNUnet/src/applications/fs/fsui


From: grothoff
Subject: [GNUnet-SVN] r1297 - GNUnet/src/applications/fs/fsui
Date: Wed, 6 Jul 2005 14:39:38 -0700 (PDT)

Author: grothoff
Date: 2005-07-06 14:39:36 -0700 (Wed, 06 Jul 2005)
New Revision: 1297

Modified:
   GNUnet/src/applications/fs/fsui/namespace_info.c
Log:
fix

Modified: GNUnet/src/applications/fs/fsui/namespace_info.c
===================================================================
--- GNUnet/src/applications/fs/fsui/namespace_info.c    2005-07-06 21:18:02 UTC 
(rev 1296)
+++ GNUnet/src/applications/fs/fsui/namespace_info.c    2005-07-06 21:39:36 UTC 
(rev 1297)
@@ -231,12 +231,13 @@
   struct ECRS_MetaData * meta;
   int rating;
 
-  if (OK != readNamespaceInfo(name,
-                             &meta,
-                             &rating)) {
-    rating = 0;
+  meta = NULL;
+  rating = 0;
+  readNamespaceInfo(name,
+                   &meta,
+                   &rating);
+  if (meta == NULL)
     meta = ECRS_createMetaData();
-  }
   ret = c->iterator(c->closure,
                    name,
                    nsid,





reply via email to

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