diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 19bf8d304..625747585 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1305,7 +1305,8 @@ int session_it (void *cls, | |||
1305 | * @param addrlen length of addr | 1305 | * @param addrlen length of addr |
1306 | * @return the session if the address is valid, NULL otherwise | 1306 | * @return the session if the address is valid, NULL otherwise |
1307 | */ | 1307 | */ |
1308 | const const struct Session * tcp_plugin_create_session (void *cls, | 1308 | static struct Session * |
1309 | tcp_plugin_create_session (void *cls, | ||
1309 | const struct GNUNET_HELLO_Address *address) | 1310 | const struct GNUNET_HELLO_Address *address) |
1310 | { | 1311 | { |
1311 | struct Plugin * plugin = cls; | 1312 | struct Plugin * plugin = cls; |