diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-21 13:13:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-21 13:13:17 +0000 |
commit | e799762ddd6a453b725e479d65fafccc479e46c3 (patch) | |
tree | 59da1b8cfd0093a772b2e4723999440c1c9c919e /src | |
parent | ba62fb823f6801608250a97c719981ba823faae3 (diff) | |
download | gnunet-e799762ddd6a453b725e479d65fafccc479e46c3.tar.gz gnunet-e799762ddd6a453b725e479d65fafccc479e46c3.zip |
match MHD 0.9.2 API
Diffstat (limited to 'src')
-rw-r--r-- | src/core/gnunet-service-core.c | 2 | ||||
-rw-r--r-- | src/transport/plugin_transport_http.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index 5c8d8dc72..d5807ef3c 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c | |||
@@ -44,7 +44,7 @@ | |||
44 | 44 | ||
45 | #define DEBUG_HANDSHAKE GNUNET_NO | 45 | #define DEBUG_HANDSHAKE GNUNET_NO |
46 | 46 | ||
47 | #define DEBUG_CORE_QUOTA GNUNET_NO | 47 | #define DEBUG_CORE_QUOTA GNUNET_YES |
48 | 48 | ||
49 | /** | 49 | /** |
50 | * Receive and send buffer windows grow over time. For | 50 | * Receive and send buffer windows grow over time. For |
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 6af53332a..4389bbefc 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -819,7 +819,8 @@ mhd_accept_cb (void *cls, const struct sockaddr *addr, socklen_t addr_len) | |||
819 | * @param max max number of bytes available in buffer | 819 | * @param max max number of bytes available in buffer |
820 | * @return bytes written to buffer | 820 | * @return bytes written to buffer |
821 | */ | 821 | */ |
822 | int mhd_send_callback (void *cls, uint64_t pos, char *buf, int max) | 822 | static ssize_t |
823 | mhd_send_callback (void *cls, uint64_t pos, char *buf, size_t max) | ||
823 | { | 824 | { |
824 | struct Session * ps = cls; | 825 | struct Session * ps = cls; |
825 | struct HTTP_PeerContext * pc; | 826 | struct HTTP_PeerContext * pc; |