diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-21 18:58:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-21 18:58:19 +0000 |
commit | 37ffba0e788aa5bad59503b1378d13780976b14e (patch) | |
tree | 10a1e2961c1ef622df35a0bd3b5d0a9334e4997b /src/transport/test_quota_compliance.c | |
parent | 3863fcf57b835f52b641ca5cf7e7dacc0c73b97f (diff) | |
download | gnunet-37ffba0e788aa5bad59503b1378d13780976b14e.tar.gz gnunet-37ffba0e788aa5bad59503b1378d13780976b14e.zip |
mantis 1718
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index ef4f999be..086561095 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -800,12 +800,12 @@ int | |||
800 | main (int argc, char *argv[]) | 800 | main (int argc, char *argv[]) |
801 | { | 801 | { |
802 | int ret = 0; | 802 | int ret = 0; |
803 | #ifdef MINGW | ||
804 | return GNUNET_SYSERR; | ||
805 | #endif | ||
806 | if (strstr(argv[0], "tcp_nat") != NULL) | 803 | if (strstr(argv[0], "tcp_nat") != NULL) |
807 | { | 804 | { |
808 | is_tcp_nat = GNUNET_YES; | 805 | is_tcp_nat = GNUNET_YES; |
806 | #ifdef MINGW | ||
807 | return 0; | ||
808 | #endif | ||
809 | } | 809 | } |
810 | else if (strstr(argv[0], "tcp") != NULL) | 810 | else if (strstr(argv[0], "tcp") != NULL) |
811 | { | 811 | { |
@@ -814,6 +814,9 @@ main (int argc, char *argv[]) | |||
814 | else if (strstr(argv[0], "https") != NULL) | 814 | else if (strstr(argv[0], "https") != NULL) |
815 | { | 815 | { |
816 | is_https = GNUNET_YES; | 816 | is_https = GNUNET_YES; |
817 | #ifdef MINGW | ||
818 | return 0; | ||
819 | #endif | ||
817 | } | 820 | } |
818 | else if (strstr(argv[0], "http") != NULL) | 821 | else if (strstr(argv[0], "http") != NULL) |
819 | { | 822 | { |