no range for filenames
authorChristian Grothoff <christian@grothoff.org>
Mon, 1 Aug 2011 13:16:14 +0000 (13:16 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 1 Aug 2011 13:16:14 +0000 (13:16 +0000)
src/transport/plugin_transport_unix.c

index ad8756ecd0bcedfe01b426e46214d6c1555e4037..2a7dc90650a1720654e3f50e87b837bf801ab5c8 100644 (file)
@@ -1112,17 +1112,6 @@ libgnunet_plugin_transport_unix_init (void *cls)
                                             "PORT",
                                             &port))
     port = UNIX_NAT_DEFAULT_PORT;
-  else if (port > 65535)
-    {
-      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-                  _("Given `%s' option is out of range: %llu > %u\n"),
-                  "PORT",
-                  port,
-                  65535);
-      return NULL;
-    }
-
-
   plugin = GNUNET_malloc (sizeof (struct Plugin));
   plugin->port = port;
   plugin->env = env;