diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index ad8756ecd..2a7dc9065 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -1112,17 +1112,6 @@ libgnunet_plugin_transport_unix_init (void *cls) | |||
1112 | "PORT", | 1112 | "PORT", |
1113 | &port)) | 1113 | &port)) |
1114 | port = UNIX_NAT_DEFAULT_PORT; | 1114 | port = UNIX_NAT_DEFAULT_PORT; |
1115 | else if (port > 65535) | ||
1116 | { | ||
1117 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
1118 | _("Given `%s' option is out of range: %llu > %u\n"), | ||
1119 | "PORT", | ||
1120 | port, | ||
1121 | 65535); | ||
1122 | return NULL; | ||
1123 | } | ||
1124 | |||
1125 | |||
1126 | plugin = GNUNET_malloc (sizeof (struct Plugin)); | 1115 | plugin = GNUNET_malloc (sizeof (struct Plugin)); |
1127 | plugin->port = port; | 1116 | plugin->port = port; |
1128 | plugin->env = env; | 1117 | plugin->env = env; |