diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-07-22 18:58:13 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-07-22 18:58:13 +0000 |
commit | a11257cec68de795db5bcd1e30d47685c13d6a5f (patch) | |
tree | d3660227da7a5048a3336f0d27a3ebd7b3c28f4c /src/gns/test_gns_proxy.c | |
parent | 8ee0404fc1a3ef3fc75ba3b558f46f90dded4cfa (diff) | |
download | gnunet-a11257cec68de795db5bcd1e30d47685c13d6a5f.tar.gz gnunet-a11257cec68de795db5bcd1e30d47685c13d6a5f.zip |
- add check to test, code cleanup
Diffstat (limited to 'src/gns/test_gns_proxy.c')
-rw-r--r-- | src/gns/test_gns_proxy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c index 35350e8bb..96fe35ede 100644 --- a/src/gns/test_gns_proxy.c +++ b/src/gns/test_gns_proxy.c | |||
@@ -441,6 +441,12 @@ main (int argc, char *const *argv) | |||
441 | return 0; | 441 | return 0; |
442 | } | 442 | } |
443 | 443 | ||
444 | if (GNUNET_YES != GNUNET_OS_check_helper_binary ("gnunet-helper-dns")) | ||
445 | { | ||
446 | fprintf (stderr, "DNS helper binary has wrong permissions... skipping!\n"); | ||
447 | return 0; | ||
448 | } | ||
449 | |||
444 | GNUNET_CRYPTO_setup_hostkey ("test_gns_proxy.conf"); | 450 | GNUNET_CRYPTO_setup_hostkey ("test_gns_proxy.conf"); |
445 | 451 | ||
446 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 452 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |