فهرست منبع

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"),