diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-21 00:54:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-21 00:54:49 +0200 |
commit | 30361fe0e89a72e2dd248a93824b06d858e4e81a (patch) | |
tree | 5cd5b9917bf1fb6899587683ab1680472c29194a /src/pt/test_gnunet_vpn.c | |
parent | 172d6b0c471cd6512b8074d78f59ae9bb8cad9e7 (diff) | |
download | gnunet-30361fe0e89a72e2dd248a93824b06d858e4e81a.tar.gz gnunet-30361fe0e89a72e2dd248a93824b06d858e4e81a.zip |
make GNUNET_freez default, have GNUNET_free_nz for cases where that does not work
Diffstat (limited to 'src/pt/test_gnunet_vpn.c')
-rw-r--r-- | src/pt/test_gnunet_vpn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c index 42fd52c38..cb9bb61fe 100644 --- a/src/pt/test_gnunet_vpn.c +++ b/src/pt/test_gnunet_vpn.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <microhttpd.h> | 29 | #include <microhttpd.h> |
30 | #include "gnunet_vpn_service.h" | 30 | #include "gnunet_vpn_service.h" |
31 | #include "gnunet_testing_lib.h" | 31 | #include "gnunet_testing_lib.h" |
32 | #include "gnunet_mhd_compat.h" | ||
32 | 33 | ||
33 | #define PORT 48080 | 34 | #define PORT 48080 |
34 | 35 | ||
@@ -96,7 +97,7 @@ copy_buffer (void *ptr, size_t size, size_t nmemb, void *ctx) | |||
96 | } | 97 | } |
97 | 98 | ||
98 | 99 | ||
99 | static int | 100 | static MHD_RESULT |
100 | mhd_ahc (void *cls, | 101 | mhd_ahc (void *cls, |
101 | struct MHD_Connection *connection, | 102 | struct MHD_Connection *connection, |
102 | const char *url, | 103 | const char *url, |