diff options
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index 1afa29200..2a4d12651 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -3394,7 +3394,8 @@ add_services (int proto, | |||
3394 | * @param section name of section in config, equal to hostname | 3394 | * @param section name of section in config, equal to hostname |
3395 | */ | 3395 | */ |
3396 | static void | 3396 | static void |
3397 | read_service_conf (void *cls, const char *section) | 3397 | read_service_conf (void *cls, |
3398 | const char *section) | ||
3398 | { | 3399 | { |
3399 | char *cpy; | 3400 | char *cpy; |
3400 | 3401 | ||
@@ -3402,7 +3403,9 @@ read_service_conf (void *cls, const char *section) | |||
3402 | (0 != strcmp (".gnunet.", section + (strlen (section) - 8)))) | 3403 | (0 != strcmp (".gnunet.", section + (strlen (section) - 8)))) |
3403 | return; | 3404 | return; |
3404 | if (GNUNET_OK == | 3405 | if (GNUNET_OK == |
3405 | GNUNET_CONFIGURATION_get_value_string (cfg, section, "UDP_REDIRECTS", | 3406 | GNUNET_CONFIGURATION_get_value_string (cfg, |
3407 | section, | ||
3408 | "UDP_REDIRECTS", | ||
3406 | &cpy)) | 3409 | &cpy)) |
3407 | { | 3410 | { |
3408 | add_services (IPPROTO_UDP, cpy, section); | 3411 | add_services (IPPROTO_UDP, cpy, section); |