diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-01 13:16:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-01 13:16:14 +0000 |
commit | 86bd880b33b81296ed00a440b394b2f14a443870 (patch) | |
tree | 6f8b7536c3c0d32dc8f19c253d52dc8bb3a60def /src/transport/plugin_transport_unix.c | |
parent | 9f028b17045b8e5c329a84010a182b0e69044728 (diff) | |
download | gnunet-86bd880b33b81296ed00a440b394b2f14a443870.tar.gz gnunet-86bd880b33b81296ed00a440b394b2f14a443870.zip |
no range for filenames
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-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; |