gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9594 - GNUnet/src/applications/fs/tools


From: gnunet
Subject: [GNUnet-SVN] r9594 - GNUnet/src/applications/fs/tools
Date: Fri, 20 Nov 2009 12:49:16 -0700

Author: grothoff
Date: 2009-11-20 12:49:16 -0700 (Fri, 20 Nov 2009)
New Revision: 9594

Modified:
   GNUnet/src/applications/fs/tools/gnunet-pseudonym.c
Log:
fixing logic

Modified: GNUnet/src/applications/fs/tools/gnunet-pseudonym.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-pseudonym.c 2009-11-20 18:04:25 UTC 
(rev 9593)
+++ GNUnet/src/applications/fs/tools/gnunet-pseudonym.c 2009-11-20 19:49:16 UTC 
(rev 9594)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2002, 2003, 2004, 2005, 2006, 2008 Christian Grothoff (and other 
contributing authors)
+     (C) 2002, 2003, 2004, 2005, 2006, 2008, 2009 Christian Grothoff (and 
other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -172,16 +172,8 @@
 
       if (delta != 0)
         {
-          if (GNUNET_OK ==
-              GNUNET_pseudonym_name_to_id (ectx, cfg, namespaceName, &nsid))
-            {
-              rating = GNUNET_pseudonym_rank (ectx, cfg, &nsid, delta);
-              printf (_("\tRating (after update): %d\n"), rating);
-            }
-          else
-            {
-              printf (_("\tUnknown namespace `%s'\n"), namespaceName);
-            }
+         rating = GNUNET_pseudonym_rank (ectx, cfg, &nsid, delta);
+         printf (_("\tRating (after update): %d\n"), rating);
         }
     }
   printf ("\n");





reply via email to

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