[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12039 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12039 - gnunet/src/transport |
Date: |
Mon, 28 Jun 2010 16:48:29 +0200 |
Author: wachs
Date: 2010-06-28 16:48:29 +0200 (Mon, 28 Jun 2010)
New Revision: 12039
Modified:
gnunet/src/transport/plugin_transport_http.c
Log:
Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c 2010-06-28 13:22:04 UTC
(rev 12038)
+++ gnunet/src/transport/plugin_transport_http.c 2010-06-28 14:48:29 UTC
(rev 12039)
@@ -669,7 +669,6 @@
/* Is it a PUT or a GET request */
if (0 == strcmp (MHD_HTTP_METHOD_PUT, method))
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"PUT, Upload size: %u addrlen %u\n",
*upload_data_size, con->addrlen);
if ((*upload_data_size == 0) && (con->is_put_in_progress==GNUNET_NO))
{
con->is_put_in_progress = GNUNET_YES;
@@ -690,10 +689,10 @@
return res;
}
- /* Transmission of all data complete */
+ /* Recieving data */
if ((*upload_data_size > 0) && (con->is_put_in_progress == GNUNET_YES))
{
- res = GNUNET_SERVER_mst_receive(con->msgtok, cs,
upload_data,*upload_data_size, GNUNET_YES, GNUNET_NO);
+ res = GNUNET_SERVER_mst_receive(con->msgtok, con,
upload_data,*upload_data_size, GNUNET_NO, GNUNET_NO);
(*upload_data_size) = 0;
return MHD_YES;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12039 - gnunet/src/transport,
gnunet <=