gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r10797 - gnunet/src/fs
Date: Mon, 5 Apr 2010 15:48:30 +0200

Author: grothoff
Date: 2010-04-05 15:48:30 +0200 (Mon, 05 Apr 2010)
New Revision: 10797

Modified:
   gnunet/src/fs/gnunet-pseudonym.c
Log:
warn about bad option combinations

Modified: gnunet/src/fs/gnunet-pseudonym.c
===================================================================
--- gnunet/src/fs/gnunet-pseudonym.c    2010-04-05 13:36:21 UTC (rev 10796)
+++ gnunet/src/fs/gnunet-pseudonym.c    2010-04-05 13:48:30 UTC (rev 10797)
@@ -307,8 +307,21 @@
                                             NULL);
              return;
            }
+         else
+           {
+             if (ksk_uri != NULL)
+               fprintf (stderr, _("Option `%s' ignored\n"), "-k");   
+           }
        }
     }
+  else
+    {
+      if (root_identifier != NULL) 
+       fprintf (stderr, _("Option `%s' ignored\n"), "-r");
+      if (ksk_uri != NULL)
+       fprintf (stderr, _("Option `%s' ignored\n"), "-k");   
+    }    
+    
   post_advertising (NULL, NULL, NULL);
 }
 





reply via email to

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