diff options
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index 6e95ca00c..78b030e9a 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -2569,7 +2569,7 @@ server_remove_address (void *cls, | |||
2569 | * the previous (now invalid) one | 2569 | * the previous (now invalid) one |
2570 | * @param ac address class the address belongs to | 2570 | * @param ac address class the address belongs to |
2571 | * @param addr either the previous or the new public IP address | 2571 | * @param addr either the previous or the new public IP address |
2572 | * @param addrlen actual lenght of the address | 2572 | * @param addrlen actual length of the address |
2573 | */ | 2573 | */ |
2574 | static void | 2574 | static void |
2575 | server_nat_port_map_callback (void *cls, | 2575 | server_nat_port_map_callback (void *cls, |
@@ -3512,7 +3512,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls) | |||
3512 | if (NULL == env->receive) | 3512 | if (NULL == env->receive) |
3513 | { | 3513 | { |
3514 | /* run in 'stub' mode (i.e. as part of gnunet-peerinfo), don't fully | 3514 | /* run in 'stub' mode (i.e. as part of gnunet-peerinfo), don't fully |
3515 | initialze the plugin or the API */ | 3515 | initialize the plugin or the API */ |
3516 | api = GNUNET_new (struct GNUNET_TRANSPORT_PluginFunctions); | 3516 | api = GNUNET_new (struct GNUNET_TRANSPORT_PluginFunctions); |
3517 | api->cls = NULL; | 3517 | api->cls = NULL; |
3518 | api->address_to_string = &http_server_plugin_address_to_string; | 3518 | api->address_to_string = &http_server_plugin_address_to_string; |