[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8197 - GNUnet/src/transports
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8197 - GNUnet/src/transports |
Date: |
Thu, 5 Feb 2009 23:14:31 -0700 (MST) |
Author: grothoff
Date: 2009-02-05 23:14:30 -0700 (Thu, 05 Feb 2009)
New Revision: 8197
Modified:
GNUnet/src/transports/http.c
Log:
updating to MHD 0.4.0 API with 64-bit offsets
Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c 2009-02-06 06:12:33 UTC (rev 8196)
+++ GNUnet/src/transports/http.c 2009-02-06 06:14:30 UTC (rev 8197)
@@ -30,6 +30,7 @@
#include "gnunet_transport.h"
#include "gnunet_stats_service.h"
#include "gnunet_upnp_service.h"
+#include <stdint.h>
#include <microhttpd.h>
#include <curl/curl.h>
#include "ip.h"
@@ -694,7 +695,7 @@
* @return number of bytes written, 0 is allowed!
*/
static int
-contentReaderCallback (void *cls, size_t pos, char *buf, int max)
+contentReaderCallback (void *cls, uint64_t pos, char *buf, int max)
{
struct MHDGetData *mgd = cls;
@@ -754,7 +755,7 @@
const char *method,
const char *version,
const char *upload_data,
- unsigned int *upload_data_size,
+ size_t *upload_data_size,
void **httpSessionCache)
{
GNUNET_TSession *tsession;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8197 - GNUnet/src/transports,
gnunet <=