diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-25 20:59:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-25 20:59:29 +0000 |
commit | a1aee7611781a9991c31dbaa36d38c95ad5d5300 (patch) | |
tree | 76fa1711815f47f559fbdf02fffb9c5792837d26 /src/exit | |
parent | 33a7282c26b14f838ad6f1016b90b710cec5f93f (diff) | |
download | gnunet-a1aee7611781a9991c31dbaa36d38c95ad5d5300.tar.gz gnunet-a1aee7611781a9991c31dbaa36d38c95ad5d5300.zip |
-comments, doxygen, indentation, style fixes, working on test_gns_vpn
Diffstat (limited to 'src/exit')
-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); |