瀏覽代碼

gnunet-social: removed duplicate getopt

psyc://loupsycedyglgamf.onion/~lynX 7 年之前
父節點
當前提交
4bf9e04717
共有 2 個文件被更改,包括 2 次插入6 次删除
  1. 1 0
      AUTHORS
  2. 1 6
      src/social/gnunet-social.c

+ 1 - 0
AUTHORS

@@ -10,6 +10,7 @@ Alejandra Morales
 Andreas Fuchs
 Bart Polot <bart@net.in.tum.de>
 Bruno Cabral <bcabral@uw.edu>
+Carlo von lynX <psyc://loupsycedyglgamf.onion/~lynX>
 Christian Fuchs <christian.fuchs@cfuchs.net>
 Christian Grothoff <christian@grothoff.org>
 Claudiu Olteanu

+ 1 - 6
src/social/gnunet-social.c

@@ -718,7 +718,7 @@ guest_recv_local_enter (void *cls, int result,
 
 
 /**
- * Create entry requset message.
+ * Create entry request message.
  */
 static struct GNUNET_PSYC_Message *
 guest_enter_msg_create ()
@@ -1227,11 +1227,6 @@ main (int argc, char *const *argv)
                                   gettext_noop ("create a place"),
                                   &op_host_enter),
 
-    GNUNET_GETOPT_option_flag ('C',
-                                  "host-enter",
-                                  gettext_noop ("create a place"),
-                                  &op_host_enter),
-
     GNUNET_GETOPT_option_flag ('D',
                                   "host-leave",
                                   gettext_noop ("destroy a place we were hosting"),