diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 8378a64dd..ac4cc672f 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -164,7 +164,7 @@ typedef int (*GNUNET_CONNECTION_AccessCheck) ( | |||
164 | * | 164 | * |
165 | * @param cls closure | 165 | * @param cls closure |
166 | * @param buf pointer to received data | 166 | * @param buf pointer to received data |
167 | * @param available number of bytes availabe in "buf", | 167 | * @param available number of bytes available in "buf", |
168 | * possibly 0 (on errors) | 168 | * possibly 0 (on errors) |
169 | * @param addr address of the sender | 169 | * @param addr address of the sender |
170 | * @param addrlen size of addr | 170 | * @param addrlen size of addr |
@@ -3674,7 +3674,7 @@ libgnunet_plugin_transport_tcp_init (void *cls) | |||
3674 | if (NULL == env->receive) | 3674 | if (NULL == env->receive) |
3675 | { | 3675 | { |
3676 | /* run in 'stub' mode (i.e. as part of gnunet-peerinfo), don't fully | 3676 | /* run in 'stub' mode (i.e. as part of gnunet-peerinfo), don't fully |
3677 | initialze the plugin or the API */ | 3677 | initialize the plugin or the API */ |
3678 | api = GNUNET_new (struct GNUNET_TRANSPORT_PluginFunctions); | 3678 | api = GNUNET_new (struct GNUNET_TRANSPORT_PluginFunctions); |
3679 | api->cls = NULL; | 3679 | api->cls = NULL; |
3680 | api->address_pretty_printer = &tcp_plugin_address_pretty_printer; | 3680 | api->address_pretty_printer = &tcp_plugin_address_pretty_printer; |