aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-10-01 09:20:40 +0000
committerChristian Grothoff <christian@grothoff.org>2014-10-01 09:20:40 +0000
commit081437a43321f7b2cca009bbade4caf379fdb7bc (patch)
treea8dd1c9c14d5dceeffa56f6a53abcbd876f30098 /src/namestore
parentdada32b567e03bc9d21e4d818804e3f5f20c7433 (diff)
downloadgnunet-081437a43321f7b2cca009bbade4caf379fdb7bc.tar.gz
gnunet-081437a43321f7b2cca009bbade4caf379fdb7bc.zip
-is pending is dead
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/gnunet-namestore.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index c2f5941e3..a08f20c38 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -110,11 +110,6 @@ static int is_public;
110static int is_shadow; 110static int is_shadow;
111 111
112/** 112/**
113 * Is record pending approval (#GNUNET_GNSRECORD_RF_PENDING)
114 */
115static int is_pending;
116
117/**
118 * Queue entry for the 'del' operation. 113 * Queue entry for the 'del' operation.
119 */ 114 */
120static struct GNUNET_NAMESTORE_QueueEntry *del_qe; 115static struct GNUNET_NAMESTORE_QueueEntry *del_qe;
@@ -1063,7 +1058,6 @@ int
1063main (int argc, char *const *argv) 1058main (int argc, char *const *argv)
1064{ 1059{
1065 is_public = -1; 1060 is_public = -1;
1066 is_pending = -1;
1067 is_shadow = -1; 1061 is_shadow = -1;
1068 1062
1069 static const struct GNUNET_GETOPT_CommandLineOption options[] = { 1063 static const struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -1103,9 +1097,6 @@ main (int argc, char *const *argv)
1103 {'p', "public", NULL, 1097 {'p', "public", NULL,
1104 gettext_noop ("create or list public record"), 0, 1098 gettext_noop ("create or list public record"), 0,
1105 &GNUNET_GETOPT_set_one, &is_public}, 1099 &GNUNET_GETOPT_set_one, &is_public},
1106 {'P', "pending", NULL,
1107 gettext_noop ("create record that is pending approval (and thus for now inactive)"), 0,
1108 &GNUNET_GETOPT_set_one, &is_pending},
1109 {'s', "shadow", NULL, 1100 {'s', "shadow", NULL,
1110 gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), 0, 1101 gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), 0,
1111 &GNUNET_GETOPT_set_one, &is_shadow}, 1102 &GNUNET_GETOPT_set_one, &is_shadow},